summaryrefslogtreecommitdiff
path: root/gdk/gdkkeyuni.c
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2011-03-16 19:03:34 -0400
committerJasper St. Pierre <jstpierre@mecheye.net>2011-03-16 20:09:13 -0400
commit6ecfddf2e245ecc8152bdf8d86ed5b4091f89fc6 (patch)
treeb25ae678a47fd0a9601030b8daa3fd4273bd5ccd /gdk/gdkkeyuni.c
parent9205abe37420d7338cb9c7aacf2b7b9941896d72 (diff)
downloadgtk+-6ecfddf2e245ecc8152bdf8d86ed5b4091f89fc6.tar.gz
gdkkeyuni: Fix DEL for binary search
The list needs to be sorted in order for the binary search to work properly. https://bugzilla.gnome.org/show_bug.cgi?id=644976
Diffstat (limited to 'gdk/gdkkeyuni.c')
-rw-r--r--gdk/gdkkeyuni.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdk/gdkkeyuni.c b/gdk/gdkkeyuni.c
index 1ff50a0fdf..88f36a48fc 100644
--- a/gdk/gdkkeyuni.c
+++ b/gdk/gdkkeyuni.c
@@ -839,7 +839,6 @@ static const struct {
{ 0xFF0B /* Vert. Tab */, '\v' },
{ 0xFF0D /* Return */, '\r' },
{ 0xFF1B /* Escape */, '\033' },
- { 0xFFFF /* Delete */, '\177' },
/* Numeric keypad */
@@ -863,6 +862,8 @@ static const struct {
{ 0xFFBD /* Equal */, '=' },
/* End numeric keypad */
+
+ { 0xFFFF /* Delete */, '\177' }
};
/**