mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
Fix keycode mapping for backspace, enter, tab and escape
This commit is contained in:
parent
a58ed7343d
commit
8a5b4ae3a3
@ -215,7 +215,7 @@ std::string keypress_to_str(int key_code, int modifier) {
|
||||
if ((modifier & wxMOD_SHIFT) != 0) combo.append("Shift-");
|
||||
}
|
||||
|
||||
if (key_code < 127)
|
||||
if (key_code > 32 && key_code < 127)
|
||||
combo += (char)key_code;
|
||||
else
|
||||
combo += keycode_name(key_code);
|
||||
|
Loading…
x
Reference in New Issue
Block a user