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
This commit is contained in:
Jasper St. Pierre 2011-03-16 19:03:34 -04:00
parent 9205abe374
commit 6ecfddf2e2

View File

@ -839,7 +839,6 @@ static const struct {
{ 0xFF0B /* Vert. Tab */, '\v' }, { 0xFF0B /* Vert. Tab */, '\v' },
{ 0xFF0D /* Return */, '\r' }, { 0xFF0D /* Return */, '\r' },
{ 0xFF1B /* Escape */, '\033' }, { 0xFF1B /* Escape */, '\033' },
{ 0xFFFF /* Delete */, '\177' },
/* Numeric keypad */ /* Numeric keypad */
@ -863,6 +862,8 @@ static const struct {
{ 0xFFBD /* Equal */, '=' }, { 0xFFBD /* Equal */, '=' },
/* End numeric keypad */ /* End numeric keypad */
{ 0xFFFF /* Delete */, '\177' }
}; };
/** /**