Fixed issue with ctrl/key
This commit is contained in:
parent
8c1cf40cb1
commit
229a0f0184
|
@ -334,7 +334,7 @@ start(Uxn *u)
|
|||
case SDL_TEXTINPUT:
|
||||
case SDL_KEYDOWN:
|
||||
case SDL_KEYUP:
|
||||
if(event.text.text[0] >= ' ' || event.text.text[0] <= '~')
|
||||
if(event.text.text[0] >= ' ' && event.text.text[0] <= '~')
|
||||
devctrl->dat[3] = event.text.text[0];
|
||||
doctrl(u, &event, event.type == SDL_KEYDOWN);
|
||||
evaluxn(u, mempeek16(devctrl->dat, 0));
|
||||
|
|
Loading…
Reference in New Issue