Coupple regressions fixed.
This commit is contained in:
1 parent
39b7488aea
commit
9aad6748e0
7 files changed
+54
-5
No files matched your search
+3
-1
@@ -175,7 +175,9 @@ static LRESULT CALLBACK edit_proc(HWND window, UINT message, WPARAM wp, LPARAM l
|
||||
(message == WM_CHAR && wp == VK_BACK) ||
|
||||
(message == WM_KEYDOWN && wp == VK_DELETE))) {
|
||||
lstrcpynW(text, removed, 1024);
|
||||
kind = WINE_ACCESS_TEXT_DELETED; report = TRUE;
|
||||
kind = message == WM_CHAR && wp == VK_BACK
|
||||
? WINE_ACCESS_TEXT_BACKSPACED : WINE_ACCESS_TEXT_DELETED;
|
||||
report = TRUE;
|
||||
}
|
||||
if (report) notify_text(window, kind, text, start, end);
|
||||
state->busy = FALSE;
|
||||
|
||||
Reference in new issue
Block a user