diff options
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index 066ea102..22f105a4 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -530,10 +530,10 @@ void init_MainWindow(iMainWindow *d, iRect rect) { | |||
530 | useExecutableIconResource_SDLWindow(d->base.win); | 530 | useExecutableIconResource_SDLWindow(d->base.win); |
531 | #endif | 531 | #endif |
532 | #if defined (iPlatformLinux) | 532 | #if defined (iPlatformLinux) |
533 | SDL_SetWindowMinimumSize(d->win, minSize.x * d->base.pixelRatio, minSize.y * d->base.pixelRatio); | 533 | SDL_SetWindowMinimumSize(d->base.win, minSize.x * d->base.pixelRatio, minSize.y * d->base.pixelRatio); |
534 | /* Load the window icon. */ { | 534 | /* Load the window icon. */ { |
535 | SDL_Surface *surf = loadImage_(&imageLagrange64_Embedded, 0); | 535 | SDL_Surface *surf = loadImage_(&imageLagrange64_Embedded, 0); |
536 | SDL_SetWindowIcon(d->win, surf); | 536 | SDL_SetWindowIcon(d->base.win, surf); |
537 | free(surf->pixels); | 537 | free(surf->pixels); |
538 | SDL_FreeSurface(surf); | 538 | SDL_FreeSurface(surf); |
539 | } | 539 | } |