Author: cazfi Date: Sun Jul 6 23:38:44 2014 New Revision: 25406 URL: http://svn.gna.org/viewcvs/freeciv?rev=25406&view=rev Log: Revert sdl-client (but not sdl2-client) change that redundant buildings are shown with their name strikken through, as we can't rely on SDL_ttf to provide support for that.
Reported by Jacob Nevins <jtn> See patch #4879 Modified: branches/S2_5/client/gui-sdl/wldlg.c Modified: branches/S2_5/client/gui-sdl/wldlg.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_5/client/gui-sdl/wldlg.c?rev=25406&r1=25405&r2=25406&view=diff ============================================================================== --- branches/S2_5/client/gui-sdl/wldlg.c (original) +++ branches/S2_5/client/gui-sdl/wldlg.c Sun Jul 6 23:38:44 2014 @@ -1360,10 +1360,6 @@ fc_snprintf(cBuf, sizeof(cBuf), "%s", improvement_name_translation(pImprove)); copy_chars_to_string16(pStr, cBuf); pStr->style |= TTF_STYLE_BOLD; - - if (is_improvement_redundant(pCity, pImprove)) { - pStr->style |= TTF_STYLE_STRIKETHROUGH; - } pText_Name = create_text_surf_smaller_that_w(pStr, pIcon->w - 4); @@ -1451,8 +1447,7 @@ copy_chars_to_string16(pStr, cBuf); pStr->style &= ~TTF_STYLE_BOLD; - pStr->style &= ~TTF_STYLE_STRIKETHROUGH; - + pText = create_text_surf_from_str16(pStr); /*-----------------*/ _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits