From 6ecfddf2e245ecc8152bdf8d86ed5b4091f89fc6 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Wed, 16 Mar 2011 19:03:34 -0400 Subject: 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 --- gdk/gdkkeyuni.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdk/gdkkeyuni.c') 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' } }; /** -- cgit v1.2.1