Skip to content

Commit

Permalink
Merge branch 'master' of ../cvs/src
Browse files Browse the repository at this point in the history
  • Loading branch information
RealDeuce committed Apr 28, 2020
2 parents 26624ae + 57535e6 commit baa8a71
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/conio/sdl_con.c
Original file line number Diff line number Diff line change
Expand Up @@ -831,9 +831,8 @@ void sdl_video_event_thread(void *data)
sdl_add_key(sdl_get_char_code(ev.key.keysym.sym, ev.key.keysym.mod));
}
else if (!isprint(ev.key.keysym.sym)) {
uint8_t ch = cpchar_from_unicode_cpoint(getcodepage(), ev.key.keysym.sym, 0);
if (ch)
sdl_add_key(ch);
if (ev.key.keysym.sym < 127)
sdl_add_key(ev.key.keysym.sym);
}
break;
case SDL_TEXTINPUT:
Expand Down

0 comments on commit baa8a71

Please sign in to comment.