<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40457 >

 $subject


 - ML

diff -Nurd -X.diff_ignore freeciv/client/gui-xaw/dialogs.c 
freeciv/client/gui-xaw/dialogs.c
--- freeciv/client/gui-xaw/dialogs.c    2008-03-08 16:32:59.000000000 +0200
+++ freeciv/client/gui-xaw/dialogs.c    2008-08-23 20:01:32.000000000 +0300
@@ -567,13 +567,17 @@
     bv_special what_bv;
 
     if (what != S_PILLAGE_BASE) {
+      bv_bases bases;
+
       BV_CLR_ALL(what_bv);
       BV_SET(what_bv, what);
+      BV_CLR_ALL(bases);
       button =
         XtVaCreateManagedWidget ("button", commandWidgetClass, form,
                                  XtNfromVert, prev,
                                  XtNlabel,
-                                 (XtArgVal)(get_infrastructure_text(what_bv)),
+                                 (XtArgVal)(get_infrastructure_text(what_bv,
+                                                                    bases)),
                                  NULL);
       XtAddCallback(button, XtNcallback, pillage_callback,
                     INT_TO_XTPOINTER(what));
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to