Author: cazfi
Date: Tue Oct 20 17:52:32 2015
New Revision: 30150

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

See bug #23942

Modified:
    trunk/client/tilespec.c

Modified: trunk/client/tilespec.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/tilespec.c?rev=30150&r1=30149&r2=30150&view=diff
==============================================================================
--- trunk/client/tilespec.c     (original)
+++ trunk/client/tilespec.c     Tue Oct 20 17:52:32 2015
@@ -6047,9 +6047,12 @@
     default_theme_name = options.gui_gtk3x_default_theme_name;
     default_theme_name_sz = sizeof(options.gui_gtk3x_default_theme_name);
   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_QT:


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

Reply via email to