From a3b2a62b4987b16c537ae814c298753c1be28fc3 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sat, 21 Nov 2015 20:54:03 +0100 Subject: [PATCH] Set the window icon. --- src/init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init.cpp b/src/init.cpp index b461e7b..8d13a50 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -414,7 +414,7 @@ void initSystem() graphics.license[1] = graphics.loadImage("gfx/main/cc-by-sa.png", true); SDL_Surface *device = graphics.loadImage("gfx/main/alienDevice.png"); - + SDL_SetWindowIcon(graphics.window, device); SDL_FreeSurface(device); if (strstr(engine.userHomeDirectory, "/root")) -- 2.39.5