Author: sveinung
Date: Sun Feb 22 10:54:16 2015
New Revision: 28279

URL: http://svn.gna.org/viewcvs/freeciv?rev=28279&view=rev
Log:
SDL clients: close the correct dialog after selecting city sabotage target.

See bug #23296

Modified:
    trunk/client/gui-sdl/action_dialog.c
    trunk/client/gui-sdl2/action_dialog.c

Modified: trunk/client/gui-sdl/action_dialog.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-sdl/action_dialog.c?rev=28279&r1=28278&r2=28279&view=diff
==============================================================================
--- trunk/client/gui-sdl/action_dialog.c        (original)
+++ trunk/client/gui-sdl/action_dialog.c        Sun Feb 22 10:54:16 2015
@@ -1103,7 +1103,7 @@
     int diplomat_target_id = pWidget->data.cont->id0;
     int diplomat_id = pWidget->data.cont->id1;
       
-    popdown_advanced_terrain_dialog();
+    popdown_diplomat_dialog();
     
     if(sabotage_improvement == 1000)
     {

Modified: trunk/client/gui-sdl2/action_dialog.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-sdl2/action_dialog.c?rev=28279&r1=28278&r2=28279&view=diff
==============================================================================
--- trunk/client/gui-sdl2/action_dialog.c       (original)
+++ trunk/client/gui-sdl2/action_dialog.c       Sun Feb 22 10:54:16 2015
@@ -1107,7 +1107,7 @@
     int diplomat_target_id = pWidget->data.cont->id0;
     int diplomat_id = pWidget->data.cont->id1;
 
-    popdown_advanced_terrain_dialog();
+    popdown_diplomat_dialog();
 
     if (sabotage_improvement == 1000) {
       sabotage_improvement = -1;


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

Reply via email to