Author: cazfi
Date: Tue Oct 20 17:52:37 2015
New Revision: 30151

URL: http://svn.gna.org/viewcvs/freeciv?rev=30151&view=rev
Log:
Use sdl2-client's own theme setting instead of that of sdl-client.

See bug #23942

Modified:
    branches/S2_6/client/tilespec.c

Modified: branches/S2_6/client/tilespec.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/tilespec.c?rev=30151&r1=30150&r2=30151&view=diff
==============================================================================
--- branches/S2_6/client/tilespec.c     (original)
+++ branches/S2_6/client/tilespec.c     Tue Oct 20 17:52:37 2015
@@ -6067,9 +6067,12 @@
     default_theme_name_sz = sizeof(options.gui_gtk3_default_theme_name);
     break;
   case GUI_SDL:
-  case GUI_SDL2:
     default_theme_name = options.gui_sdl_default_theme_name;
     default_theme_name_sz = sizeof(options.gui_sdl_default_theme_name);
+    break;
+  case GUI_SDL2:
+    default_theme_name = options.gui_sdl2_default_theme_name;
+    default_theme_name_sz = sizeof(options.gui_sdl2_default_theme_name);
     break;
   case GUI_STUB:
   case GUI_XAW:


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to