Just changed seticon() position to make icons putted right away by the wm (textures...
authorRicardo Cruz <rick2@aeiou.pt>
Sun, 14 Mar 2004 02:37:58 +0000 (02:37 +0000)
committerRicardo Cruz <rick2@aeiou.pt>
Sun, 14 Mar 2004 02:37:58 +0000 (02:37 +0000)
SVN-Revision: 210

src/setup.c

index 336ae92..a6f5984 100644 (file)
@@ -456,6 +456,14 @@ void st_general_setup(void)
 
   srand(SDL_GetTicks());
 
+  /* Set icon image: */
+
+  seticon();
+
+  /* Unicode needed for input handling: */
+
+  SDL_EnableUNICODE(1);
+
   /* Load global images: */
 
   text_load(&black_text,DATA_PREFIX "/images/status/letters-black.png", TEXT_TEXT, 16,18);
@@ -474,11 +482,6 @@ void st_general_setup(void)
   texture_load(&arrow_left, DATA_PREFIX "/images/icons/left.png", USE_ALPHA);
   texture_load(&arrow_right, DATA_PREFIX "/images/icons/right.png", USE_ALPHA);
 
-  /* Set icon image: */
-
-  seticon();
-  SDL_EnableUNICODE(1);
-
 }
 
 void st_general_free(void)