summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-09-25 13:12:35 +0300
committerGitHub <noreply@github.com>2021-09-25 13:12:35 +0300
commit84782b6ef07d3dd14617d5b3bbef5efd2dddb1bf (patch)
treef21b8d41e7f4a2cdc0c90ea5f0ad2134393d67b7
parentc80331992585bfee3d65a7ba24f3a4b640c48735 (diff)
parent0d6e3b3a835924efeb1abe21d6e38752fe021141 (diff)
Merge pull request #342 from z0gg3r/dev
Lagrange build failed, due to missing base. in ui/window.c
-rw-r--r--src/ui/window.c4
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 }