raster pushed a commit to branch efl-1.20.

http://git.enlightenment.org/core/efl.git/commit/?id=a4baec04e25fcabe0b4d3e043346b48e74964427

commit a4baec04e25fcabe0b4d3e043346b48e74964427
Author: Jean Guyomarc'h <[email protected]>
Date:   Sun Oct 29 16:06:31 2017 +0100

    ecore_cocoa: fix the backspace key
    
    The backspace key is supposed to send an ASCII code of 0x08, not 0x7F
    (this would be the delete key). This has not be seen before as it is is
    rare to use the ASCII code for the BackSpace key.
    
    @fix
---
 src/lib/ecore_cocoa/ecore_cocoa_keys.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore_cocoa/ecore_cocoa_keys.h 
b/src/lib/ecore_cocoa/ecore_cocoa_keys.h
index 4eda272cf3..56d9d8f33c 100644
--- a/src/lib/ecore_cocoa/ecore_cocoa_keys.h
+++ b/src/lib/ecore_cocoa/ecore_cocoa_keys.h
@@ -121,7 +121,7 @@ static const struct _ecore_cocoa_keys_s keystable[] =
 { 123,                       "braceleft",    "{" },
 { 124,                       "pipe",         "|" },
 { 125,                       "braceright",   "}" },
-{ 127,                       "BackSpace",    "\177" },
+{ 127,                       "BackSpace",    "\x08" },
 { 126,                       "asciitilde",   "~" },
 
 { 160,                       "w0",           "" }, 

-- 


Reply via email to