Fix comparison between wchar and ptr (#401)
This commit is contained in:
parent
7ae6defce8
commit
a4ea7dcced
|
@ -1486,7 +1486,7 @@ wmain(int ac, wchar_t **av)
|
||||||
while (*exec_command != L'\0' && *exec_command == L' ')
|
while (*exec_command != L'\0' && *exec_command == L' ')
|
||||||
exec_command++;
|
exec_command++;
|
||||||
|
|
||||||
if (exec_command == L'\0')
|
if (*exec_command == L'\0')
|
||||||
goto usage;
|
goto usage;
|
||||||
|
|
||||||
if (with_pty)
|
if (with_pty)
|
||||||
|
|
Loading…
Reference in New Issue