[gtk+/gtk-3-0] gdkkeyuni: Fix DEL for binary search



commit 0164c69568a6a4d3540a521f33e2c8c33808855d
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Mar 16 19:03:34 2011 -0400

    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 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkkeyuni.c b/gdk/gdkkeyuni.c
index 1ff50a0..88f36a4 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' }
 };
 
 /**



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]