Merge pull request #1654 from Cacodemon345/patch-4

unix.c: Fix character count in fullscreen string
This commit is contained in:
Miran Grča
2021-09-04 23:00:15 +02:00
committed by GitHub

View File

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