[gtk+] gdkkeyuni: Fix DEL for binary search
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gdkkeyuni: Fix DEL for binary search
- Date: Thu, 17 Mar 2011 00:12:55 +0000 (UTC)
commit 6ecfddf2e245ecc8152bdf8d86ed5b4091f89fc6
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]