mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-09-26 20:45:36 +08:00
fix a bug: bad handle for backspace
This commit is contained in:
+1
-1
@@ -2159,7 +2159,7 @@ SLEditCtrlProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (wParam == '\b') { //backspace
|
||||
if (charBuffer[0] == '\b') { //backspace
|
||||
int del;
|
||||
|
||||
if (sled->editPos == 0 && sled->selStart == sled->selEnd)
|
||||
|
||||
Reference in New Issue
Block a user