:Missed earlier fix to spawn_child

This commit is contained in:
Manoj Ampalam 2016-12-21 21:39:43 -08:00
parent 9333a08637
commit d67c7e7c85
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ spawn_child(char* cmd, int in, int out, int err, DWORD flags) {
if(!cmd)
break;
t = cmd;
if (*t = '\"')
if (*t == '\"')
t++;
if (t[0] == '\0' || t[0] == '\\' || t[0] == '.' || t[1] == ':')
break;