mirror of
https://github.com/86Box/86Box.git
synced 2025-01-23 09:42:47 -05:00
Merge pull request #1674 from Cacodemon345/patch-8
Fix monitor argument count
This commit is contained in:
commit
33365a9c2b
1 changed files with 1 additions and 0 deletions
|
@ -759,6 +759,7 @@ void monitor_thread(void* param)
|
|||
xargv[cmdargc++] = local_strsep(&linecpy, " ");
|
||||
if (xargv[cmdargc - 1] == NULL || cmdargc >= 512) break;
|
||||
}
|
||||
cmdargc--;
|
||||
if (strncasecmp(xargv[0], "exit", 4) == 0)
|
||||
{
|
||||
exit_event = 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue