summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index 85666233..54422ef2 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -780,8 +780,8 @@ static void savePlace_MainWindow_(iAny *mainWindow) {
780 iInt2 border = zero_I2(); 780 iInt2 border = zero_I2();
781#if !defined(iPlatformApple) 781#if !defined(iPlatformApple)
782 SDL_GetWindowBordersSize(d->base.win, &border.y, &border.x, NULL, NULL); 782 SDL_GetWindowBordersSize(d->base.win, &border.y, &border.x, NULL, NULL);
783#endif
784 iAssert(~SDL_GetWindowFlags(d->base.win) & SDL_WINDOW_MAXIMIZED); 783 iAssert(~SDL_GetWindowFlags(d->base.win) & SDL_WINDOW_MAXIMIZED);
784#endif
785 d->place.normalRect.pos = 785 d->place.normalRect.pos =
786 max_I2(zero_I2(), sub_I2(d->place.normalRect.pos, border)); 786 max_I2(zero_I2(), sub_I2(d->place.normalRect.pos, border));
787 } 787 }