added option for window icon file to run-time special edition support
[rocksndiamonds.git] / src / libgame / sdl.c
index 327d20b5be58a33ef9d664a594d4ae13dde4e73d..32635b5341a6f4ff7bfb6530742ae22482628e1b 100644 (file)
@@ -454,7 +454,7 @@ void SDLInitVideoBuffer(DrawBuffer **backbuffer, DrawWindow **window,
 
   /* !!! SDL2 can only set the window icon if the window already exists !!! */
   /* set window icon */
-  SDLSetWindowIcon(program.sdl_icon_filename);
+  SDLSetWindowIcon(program.icon_filename);
 
   /* set window and icon title */
 #if defined(TARGET_SDL2)