Fix comparison between wchar and ptr (#401)

This commit is contained in:
Ed Schaller 2019-11-15 23:49:38 -07:00 committed by Manoj Ampalam
parent 7ae6defce8
commit a4ea7dcced
1 changed files with 1 additions and 1 deletions

View File

@ -1486,7 +1486,7 @@ wmain(int ac, wchar_t **av)
while (*exec_command != L'\0' && *exec_command == L' ')
exec_command++;
if (exec_command == L'\0')
if (*exec_command == L'\0')
goto usage;
if (with_pty)