unix.c: Fix character count in fullscreen string

This commit is contained in:
Cacodemon345
2021-09-04 00:28:41 +06:00
committed by GitHub
parent 4b2402db2e
commit dbf1202d0c

View File

@@ -759,7 +759,7 @@ void monitor_thread(void* param)
{ {
exit_event = 1; exit_event = 1;
} }
else if (strncasecmp(xargv[0], "fullscreen", 1) == 0) else if (strncasecmp(xargv[0], "fullscreen", 10) == 0)
{ {
video_fullscreen = 1; video_fullscreen = 1;
fullscreen_pending = 1; fullscreen_pending = 1;