move checks into function + cleanup
This commit is contained in:
parent
614e340f15
commit
0a65317d96
2 changed files with 12 additions and 12 deletions
|
@ -573,6 +573,9 @@ BOOL util_get_lowest_resolution(
|
|||
|
||||
void util_toggle_maximize()
|
||||
{
|
||||
if (!g_config.resizable || !g_config.windowed || g_config.fullscreen)
|
||||
return;
|
||||
|
||||
RECT client_rc;
|
||||
RECT dst_rc;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue