From dbf1202d0c7d95d1c6ec9fe2ba956bbb49ea7c1c Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Sat, 4 Sep 2021 00:28:41 +0600 Subject: [PATCH] unix.c: Fix character count in fullscreen string --- src/unix/unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/unix.c b/src/unix/unix.c index 0121d451f..4ce8d5e17 100644 --- a/src/unix/unix.c +++ b/src/unix/unix.c @@ -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;