pgui: Work around Windows bug with tab character in PGEntry

Fixes #994
This commit is contained in:
rdb 2020-08-21 14:29:27 +02:00
parent 4484aca8e1
commit 9deb569441

View File

@ -321,7 +321,7 @@ keystroke(const MouseWatcherParameter &param, bool background) {
int keycode = param.get_keycode();
if (!isascii(keycode) || isprint(keycode)) {
if ((!isascii(keycode) || isprint(keycode)) && keycode != '\t') {
// A normal visible character. Add a new character to the text entry,
// if there's room.
if (!_candidate_wtext.empty()) {