index 81b1ca3dc6ade228ac39c49b5d7cbc1e41409252..25e95eca8841d5a987f5e87bb218bc0cb4f26fb9 100644 (file)
begin
KeyPress(key)
end;
- if down and (ev.keysym.unicode <= $44F) then
- begin
- if IsPrintable1251(ch) then
- CharPress(ch)
- end
+ if down and IsValid1251(ev.keysym.unicode) and IsPrintable1251(ch) then
+ CharPress(ch)
end;
function sys_HandleInput (): Boolean;