[gtk+] GdkKeymap: Prevent an infinite loop in the non-XKB case
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GdkKeymap: Prevent an infinite loop in the non-XKB case
- Date: Thu, 30 Jun 2011 18:48:46 +0000 (UTC)
commit c22fb1684c1cbf47b625a795b8ca41385307dc69
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jun 30 14:45:16 2011 -0400
GdkKeymap: Prevent an infinite loop in the non-XKB case
Somehow the increment got lost, as comparison with the 2.x code
shows.
gdk/x11/gdkkeys-x11.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdk/x11/gdkkeys-x11.c b/gdk/x11/gdkkeys-x11.c
index da227f3..253bbed 100644
--- a/gdk/x11/gdkkeys-x11.c
+++ b/gdk/x11/gdkkeys-x11.c
@@ -881,6 +881,8 @@ gdk_x11_keymap_get_entries_for_keyval (GdkKeymap *keymap,
++i;
}
+
+ ++keycode;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]