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