mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
fix comments
This commit is contained in:
parent
dce598afcf
commit
bb43a486d9
@ -131,7 +131,7 @@ void cfg_save()
|
||||
if (!g_config.save_settings)
|
||||
return;
|
||||
|
||||
/* Do not save settings while window is maximized */
|
||||
/* Do not save settings while macOS maxmize is active */
|
||||
if (IsMacOS() && !g_config.window_rect.left && !g_config.window_rect.top)
|
||||
return;
|
||||
|
||||
|
@ -613,7 +613,7 @@ void util_toggle_maximize()
|
||||
if (!g_config.resizable || !g_config.windowed || g_config.fullscreen || !g_ddraw.width)
|
||||
return;
|
||||
|
||||
/* Do not allow maximize while window is maxmized */
|
||||
/* Do not allow cnc-ddraw maximize while macOS maxmize is active */
|
||||
if (IsMacOS() && !g_config.window_rect.left && !g_config.window_rect.top)
|
||||
return;
|
||||
|
||||
@ -721,7 +721,7 @@ void util_toggle_fullscreen()
|
||||
if (g_ddraw.bnet_active || !g_ddraw.width || (g_config.infantryhack && GetMenu(g_ddraw.hwnd)))
|
||||
return;
|
||||
|
||||
/* Do not allow ALT+ENTER while window is maxmized */
|
||||
/* Do not allow ALT+ENTER while macOS maxmize is active */
|
||||
if (IsMacOS() && !g_config.window_rect.left && !g_config.window_rect.top)
|
||||
return;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user