mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-11 07:03:33 +02:00
MacOS: Fix text input (got broken in #19441, would no longer send CHAR events)
See #19441
This commit is contained in:
+1
-1
@@ -1329,7 +1329,7 @@ bool TextEdit::Key(const KeyInput &input) {
|
||||
|
||||
// Process chars.
|
||||
if (input.flags & KEY_CHAR) {
|
||||
int unichar = input.keyCode;
|
||||
const int unichar = input.keyCode;
|
||||
if (unichar >= 0x20 && !ctrlDown_) { // Ignore control characters.
|
||||
// Insert it! (todo: do it with a string insert)
|
||||
char buf[8];
|
||||
|
||||
Reference in New Issue
Block a user