Author: cazfi Date: Sat Jan 23 15:13:13 2016 New Revision: 31553 URL: http://svn.gna.org/viewcvs/freeciv?rev=31553&view=rev Log: Increased size of couple more static text buffers that were proving too small for translations containing a lot of multi-byte UTF-8 characters.
Patch by Konstantin Vedeneev <konved> See bug #24328 Modified: branches/S2_6/client/cityrepdata.c Modified: branches/S2_6/client/cityrepdata.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/cityrepdata.c?rev=31553&r1=31552&r2=31553&view=diff ============================================================================== --- branches/S2_6/client/cityrepdata.c (original) +++ branches/S2_6/client/cityrepdata.c Sat Jan 23 15:13:13 2016 @@ -102,7 +102,7 @@ static const char *cr_entry_hstate_verbose(const struct city *pcity, const void *data) { - static char buf[16]; + static char buf[32]; fc_snprintf(buf, sizeof(buf), "%s", (city_celebrating(pcity) ? Q_("?city_state:Celebrating") : (city_unhappy(pcity) ? Q_("?city_state:Disorder") @@ -517,7 +517,7 @@ static const char *cr_entry_building(const struct city *pcity, const void *data) { - static char buf[128]; + static char buf[192]; const char *from_worklist = worklist_is_empty(&pcity->worklist) ? "" : gui_options.concise_city_production ? "+" : _("(worklist)"); _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits