• Sam Lantinga's avatar
    Daniel Wyatt to slouken · b0a24ac8
    Sam Lantinga authored
    I also found a bug in the non-printable character fix.
    In SDL_keyboard.c:SDL_SendKeyboardText:
        if (*text < ' ' || *text == 127) {
    needs to be:
        if ((unsigned char)*text < ' ' || *text == 127) {
    
    Otherwise bytes >= 128 will be considered non-printable.
    b0a24ac8
Name
Last commit
Last update
..
SDL_clipboardevents.c Loading commit data...
SDL_clipboardevents_c.h Loading commit data...
SDL_events.c Loading commit data...
SDL_events_c.h Loading commit data...
SDL_keyboard.c Loading commit data...
SDL_keyboard_c.h Loading commit data...
SDL_mouse.c Loading commit data...
SDL_mouse_c.h Loading commit data...
SDL_quit.c Loading commit data...
SDL_sysevents.h Loading commit data...
SDL_windowevents.c Loading commit data...
SDL_windowevents_c.h Loading commit data...
blank_cursor.h Loading commit data...
default_cursor.h Loading commit data...
scancodes_darwin.h Loading commit data...
scancodes_linux.h Loading commit data...
scancodes_win32.h Loading commit data...
scancodes_xfree86.h Loading commit data...