mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-12-23 16:30:23 +00:00
Single quote wasn't updating quote state when backspaced
This commit is contained in:
parent
28f4e5b37c
commit
d3aff57116
@ -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