Author: cazfi
Date: Mon Jan 12 21:38:36 2015
New Revision: 27646

URL: http://svn.gna.org/viewcvs/freeciv?rev=27646&view=rev
Log:
Corrected display of Transform command key to "O" in sdl-clients

Reported anonymously

See bug #23162

Modified:
    branches/S2_6/client/gui-sdl/menu.c
    branches/S2_6/client/gui-sdl2/menu.c

Modified: branches/S2_6/client/gui-sdl/menu.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/gui-sdl/menu.c?rev=27646&r1=27645&r2=27646&view=diff
==============================================================================
--- branches/S2_6/client/gui-sdl/menu.c (original)
+++ branches/S2_6/client/gui-sdl/menu.c Mon Jan 12 21:38:36 2015
@@ -1235,11 +1235,11 @@
 
       if (can_unit_do_activity(pUnit, ACTIVITY_TRANSFORM)) {
         time = tile_activity_time(ACTIVITY_TRANSFORM, unit_tile(pUnit), NULL);
-       fc_snprintf(cBuf, sizeof(cBuf),"%s %s (%s) %d %s",
-         _("Transform to"),
-         terrain_name_translation(pTerrain->transform_result),
-                       "M", time , 
-                       PL_("turn", "turns", time));
+        fc_snprintf(cBuf, sizeof(cBuf),"%s %s (%s) %d %s",
+                    _("Transform to"),
+                    terrain_name_translation(pTerrain->transform_result),
+                    "O", time,
+                    PL_("turn", "turns", time));
         copy_chars_to_string16(pOrder_Transform_Button->info_label, cBuf);
        clear_wflag(pOrder_Transform_Button, WF_HIDDEN);
       } else {

Modified: branches/S2_6/client/gui-sdl2/menu.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/gui-sdl2/menu.c?rev=27646&r1=27645&r2=27646&view=diff
==============================================================================
--- branches/S2_6/client/gui-sdl2/menu.c        (original)
+++ branches/S2_6/client/gui-sdl2/menu.c        Mon Jan 12 21:38:36 2015
@@ -1228,7 +1228,7 @@
         fc_snprintf(cBuf, sizeof(cBuf),"%s %s (%s) %d %s",
                     _("Transform to"),
                     terrain_name_translation(pTerrain->transform_result),
-                    "M", time, PL_("turn", "turns", time));
+                    "O", time, PL_("turn", "turns", time));
         copy_chars_to_string16(pOrder_Transform_Button->info_label, cBuf);
         clear_wflag(pOrder_Transform_Button, WF_HIDDEN);
       } else {


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

Reply via email to