mirror of
https://github.com/reactos/reactos.git
synced 2024-11-28 05:53:31 +08:00
Don't recognize backslash of the last character. CORE-1419
This commit is contained in:
parent
9812bce271
commit
737278276f
@ -304,7 +304,7 @@ static void Edit_BackWord(HWND hwndEdit)
|
||||
|
||||
for (; 0 < iStart; --iStart)
|
||||
{
|
||||
if (pszText[iStart - 1] == L'\\' ||
|
||||
if ((pszText[iStart - 1] == L'\\' && pszText[iStart] != 0) ||
|
||||
(IsCharSpaceW(pszText[iStart - 1]) && IsCharAlphaNumericW(pszText[iStart])))
|
||||
{
|
||||
SendMessageW(hwndEdit, EM_SETSEL, iStart, iEnd);
|
||||
|
Loading…
Reference in New Issue
Block a user