From 3caa424ad4656b8c8ef8885a234a1a60ade80159 Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 21 Apr 2024 12:29:09 +0200 Subject: Review formatting --- src/platforms/rcore_desktop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/platforms') diff --git a/src/platforms/rcore_desktop.c b/src/platforms/rcore_desktop.c index 211a6cbb..de289ca0 100644 --- a/src/platforms/rcore_desktop.c +++ b/src/platforms/rcore_desktop.c @@ -1377,7 +1377,7 @@ int InitPlatform(void) if (CORE.Window.fullscreen) { - // remember center for switchinging from fullscreen to window + // Remember center for switchinging from fullscreen to window if ((CORE.Window.screen.height == CORE.Window.display.height) && (CORE.Window.screen.width == CORE.Window.display.width)) { // If screen width/height equal to the display, we can't calculate the window pos for toggling full-screened/windowed. @@ -1515,7 +1515,7 @@ int InitPlatform(void) // If graphic device is no properly initialized, we end program if (!CORE.Window.ready) { TRACELOG(LOG_FATAL, "PLATFORM: Failed to initialize graphic device"); return -1; } - else + else { // Try to center window on screen but avoiding window-bar outside of screen int monitorX = 0; -- cgit v1.2.3