Author: cazfi
Date: Tue Oct 25 20:58:06 2016
New Revision: 34246

URL: http://svn.gna.org/viewcvs/freeciv?rev=34246&view=rev
Log:
Correctly set 'bold' as font-weight, not font-style.

See bug #25226

Modified:
    branches/S2_6/client/gui-gtk-3.0/gui_stuff.c
    branches/S2_6/client/gui-gtk-3.22/gui_stuff.c

Modified: branches/S2_6/client/gui-gtk-3.0/gui_stuff.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/gui-gtk-3.0/gui_stuff.c?rev=34246&r1=34245&r2=34246&view=diff
==============================================================================
--- branches/S2_6/client/gui-gtk-3.0/gui_stuff.c        (original)
+++ branches/S2_6/client/gui-gtk-3.0/gui_stuff.c        Tue Oct 25 20:58:06 2016
@@ -1035,7 +1035,7 @@
   }
 
   if (pango_font_description_get_weight(desc) >= 700) {
-    weight = "\n font-style: bold;";
+    weight = "\n font-weight: bold;";
   } else {
     weight = "";
   }

Modified: branches/S2_6/client/gui-gtk-3.22/gui_stuff.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/gui-gtk-3.22/gui_stuff.c?rev=34246&r1=34245&r2=34246&view=diff
==============================================================================
--- branches/S2_6/client/gui-gtk-3.22/gui_stuff.c       (original)
+++ branches/S2_6/client/gui-gtk-3.22/gui_stuff.c       Tue Oct 25 20:58:06 2016
@@ -1022,7 +1022,7 @@
   }
 
   if (pango_font_description_get_weight(desc) >= 700) {
-    weight = "\n font-style: bold;";
+    weight = "\n font-weight: bold;";
   } else {
     weight = "";
   }


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

Reply via email to