From 95c1d4d53b6ef06f69cfa91cc36ee01fdacf94b3 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 12 Nov 2015 05:19:00 +0100 Subject: [PATCH] (Win32) Blind coding sure sucks --- 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 b461b8b87a..f68e1d48b1 100644 --- a/gfx/common/win32_common.cpp +++ b/gfx/common/win32_common.cpp @@ -636,7 +636,7 @@ bool win32_set_video_mode(void *data, } if (!win32_window_create(NULL, style, &mon_rect, width, height, fullscreen)) - goto error; + return false; if (!fullscreen || windowed_full) {