Call SDL_WM_SetIcon before SDL_SetVideoMode as suggested by the docs.
[neverball] / putt / st_conf.c
index 3686fac..25e6079 100644 (file)
@@ -1,4 +1,4 @@
-/*   
+/*
  * Copyright (C) 2003 Robert Kooima
  *
  * NEVERPUTT is  free software; you can redistribute  it and/or modify
@@ -70,7 +70,7 @@ static int conf_action(int i)
         r = config_mode(0, w, h);
         goto_state(&st_conf);
         break;
-        
+
     case CONF_TEXHI:
         goto_state(&st_null);
         config_set_d(CONFIG_TEXTURES, 1);
@@ -132,7 +132,7 @@ static int conf_action(int i)
     case CONF_LANG:
         goto_state(&st_lang);
         break;
-        
+
     case CONF_RESOL:
         goto_state(&st_resol);
         break;
@@ -198,7 +198,7 @@ static int conf_enter(void)
                 gui_state(kd, _("No"), GUI_SML, CONF_WIN, (f == 0));
                 gui_state(kd, _("Yes"),  GUI_SML, CONF_FULL, (f == 1));
             }
-            
+
             {
                 static char msg[20];
                 sprintf(msg, "%d x %d", config_get_d(CONFIG_WIDTH),
@@ -248,7 +248,7 @@ static int conf_enter(void)
             if ((kd = gui_harray(jd)))
             {
                 /* A series of empty buttons forms the music volume control. */
+
                 music_id[10] = gui_state(kd, NULL, GUI_SML, 210, (m == 10));
                 music_id[ 9] = gui_state(kd, NULL, GUI_SML, 209, (m ==  9));
                 music_id[ 8] = gui_state(kd, NULL, GUI_SML, 208, (m ==  8));