mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-13 04:30:07 +00:00
Single quote wasn't updating quote state when backspaced
This commit is contained in:
parent
ba1f67620f
commit
6103c7f76d
@ -205,7 +205,8 @@ bool ConsoleInputBackSpace()
|
||||
{
|
||||
g_nConsoleInputChars--;
|
||||
|
||||
if (g_pConsoleInput[ g_nConsoleInputChars ] == TEXT('"'))
|
||||
if ((g_pConsoleInput[ g_nConsoleInputChars ] == TCHAR_QUOTE_DOUBLE) ||
|
||||
(g_pConsoleInput[ g_nConsoleInputChars ] == TCHAR_QUOTE_SINGLE))
|
||||
g_bConsoleInputQuoted = ! g_bConsoleInputQuoted;
|
||||
|
||||
g_pConsoleInput[ g_nConsoleInputChars ] = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user