mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-09-24 00:54:18 +08:00
bugfixing: Bad handling of backspace character in SLEdit control.
This commit is contained in:
+2
-1
@@ -2147,7 +2147,8 @@ SLEditCtrlProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (wParam == '\b') { //backspace
|
||||
/* BUGFIXING (VM 2020-03-12): merged from 5.0.0 */
|
||||
if (charBuffer [0] == '\b') { //backspace
|
||||
int del;
|
||||
|
||||
if (sled->editPos == 0 && sled->selStart == sled->selEnd)
|
||||
|
||||
Reference in New Issue
Block a user