fix a bug: bad handle for backspace

This commit is contained in:
Vincent Wei
2020-02-27 09:57:20 +08:00
parent e8a26956d7
commit ccb176419a
+1 -1
View File
@@ -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)