From: caro Date: Tue, 29 Nov 2011 07:19:27 +0000 (+0000) Subject: Ecore_Win32: Fix the string value for the Delete key X-Git-Tag: 2.0_alpha~108^2~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8b659bbe5b813fadb358af15fd736ffdf7da7b2a;p=framework%2Fuifw%2Fecore.git Ecore_Win32: Fix the string value for the Delete key git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@65674 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/ChangeLog b/ChangeLog index 213226c..8d747fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -354,3 +354,4 @@ 2011-11-29 Vincent Torri * Discard left Ctrl when AltGr is pressed (Windows XP) + * Fix the string value for the Delete key diff --git a/src/lib/ecore_win32/ecore_win32_event.c b/src/lib/ecore_win32/ecore_win32_event.c index f69ee9f..159d3f9 100644 --- a/src/lib/ecore_win32/ecore_win32_event.c +++ b/src/lib/ecore_win32/ecore_win32_event.c @@ -650,6 +650,7 @@ _ecore_win32_event_keystroke_get(Ecore_Win32_Callback_Data *msg, char **keycompose, unsigned int *modifiers) { + char delete_string[2] = { 0x7f, 0 }; char *kn = NULL; char *ks = NULL; char *kc = NULL; @@ -797,8 +798,7 @@ _ecore_win32_event_keystroke_get(Ecore_Win32_Callback_Data *msg, { kn = "Delete"; ks = "Delete"; - /* FIXME: kc is wrong, here */ - kc = "Delete"; + kc = delete_string; } else {