MacOSX: Fixed a bug in the filenames input and another one with the backspace key not being sent.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@270 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -535,9 +535,18 @@ word Conversion_ANSI(SDL_keysym Sym)
|
||||
case 0xC600:
|
||||
return 'ã'; // ã
|
||||
}
|
||||
|
||||
// Touche entre 127 et 255
|
||||
if (Sym.unicode<256)
|
||||
{
|
||||
#ifdef __macosx__
|
||||
// fc: Looks like there's a mismatch with delete & backspace
|
||||
// i don't why SDLK_DELETE was returned instead of SDLK_BACKSPACE
|
||||
if(Sym.unicode == 127)
|
||||
{
|
||||
return(SDLK_BACKSPACE);
|
||||
}
|
||||
#endif
|
||||
return Sym.unicode;
|
||||
}
|
||||
// Sinon c'est une touche spéciale, on retourne son scancode
|
||||
|
||||
Reference in New Issue
Block a user