From 8b659bbe5b813fadb358af15fd736ffdf7da7b2a Mon Sep 17 00:00:00 2001 From: caro Date: Tue, 29 Nov 2011 07:19:27 +0000 Subject: [PATCH] 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 --- ChangeLog | 1 + src/lib/ecore_win32/ecore_win32_event.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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 { -- 2.7.4