Ecore_Win32: Fix the string value for the Delete key

SVN revision: 65674
This commit is contained in:
Vincent Torri 2011-11-29 07:19:27 +00:00
parent 1c43e16493
commit 91872c3d22
2 changed files with 3 additions and 2 deletions

View File

@ -354,3 +354,4 @@
2011-11-29 Vincent Torri 2011-11-29 Vincent Torri
* Discard left Ctrl when AltGr is pressed (Windows XP) * Discard left Ctrl when AltGr is pressed (Windows XP)
* Fix the string value for the Delete key

View File

@ -650,6 +650,7 @@ _ecore_win32_event_keystroke_get(Ecore_Win32_Callback_Data *msg,
char **keycompose, char **keycompose,
unsigned int *modifiers) unsigned int *modifiers)
{ {
char delete_string[2] = { 0x7f, 0 };
char *kn = NULL; char *kn = NULL;
char *ks = NULL; char *ks = NULL;
char *kc = NULL; char *kc = NULL;
@ -797,8 +798,7 @@ _ecore_win32_event_keystroke_get(Ecore_Win32_Callback_Data *msg,
{ {
kn = "Delete"; kn = "Delete";
ks = "Delete"; ks = "Delete";
/* FIXME: kc is wrong, here */ kc = delete_string;
kc = "Delete";
} }
else else
{ {