mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-11-20 11:31:24 +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--;
|
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_bConsoleInputQuoted = ! g_bConsoleInputQuoted;
|
||||||
|
|
||||||
g_pConsoleInput[ g_nConsoleInputChars ] = 0;
|
g_pConsoleInput[ g_nConsoleInputChars ] = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user