This commit is contained in:
Vincent Wei
2020-02-27 09:56:53 +08:00
parent 7c914cdca4
commit e8a26956d7

View File

@@ -4360,7 +4360,7 @@ static int mTextEditor_onChar(mTextEditor *self, WPARAM eucCode, DWORD keyFlags)
if (!TE_VALID_OBJ(self) || _read_only(self) || (keyFlags & KS_CTRL))
return 0;
if(eucCode == 127 || eucCode == '\b') {
if (eucCode == 127 || eucCode == '\b') {
_remove_chars(self, TRUE);
return 0;
}