fix gdi backend bug

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@610 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-11-06 16:27:19 +00:00
parent 06753e97f5
commit 9874b24846
3 changed files with 17 additions and 3 deletions

View File

@@ -106,6 +106,7 @@ static void key(MwWidget handle, int code) {
t->cursor++;
} else if(code == MwLLKeyEnter) {
MwDispatchUserHandler(handle, MwNactivateHandler, NULL);
} else if(code == (MwLLControlMask | 'v')){
} else if(!(code & MwLLKeyMask)) {
int incr = 0;
out = malloc(strlen(str) + 5 + 1);