From d4f1b6d14a37b52c76dcd5cb3fa55f8f026f75c0 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 12 Nov 2015 05:18:13 +0100 Subject: [PATCH] (Win32) Another buildfix --- gfx/common/win32_common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/common/win32_common.cpp b/gfx/common/win32_common.cpp index 4fdad8f3cf..b461b8b87a 100644 --- a/gfx/common/win32_common.cpp +++ b/gfx/common/win32_common.cpp @@ -617,7 +617,7 @@ bool win32_set_video_mode(void *data, style = WS_POPUP | WS_VISIBLE; if (!win32_monitor_set_fullscreen(width, height, refresh, current_mon.szDevice)) - goto error; + return false; /* Display settings might have changed, get new coordinates. */ GetMonitorInfo(hm_to_use, (MONITORINFO*)¤t_mon);