Author: cazfi
Date: Tue Oct 25 20:58:00 2016
New Revision: 34245

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

See bug #25226

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

Modified: trunk/client/gui-gtk-3.0/gui_stuff.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-gtk-3.0/gui_stuff.c?rev=34245&r1=34244&r2=34245&view=diff
==============================================================================
--- trunk/client/gui-gtk-3.0/gui_stuff.c        (original)
+++ trunk/client/gui-gtk-3.0/gui_stuff.c        Tue Oct 25 20:58:00 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: trunk/client/gui-gtk-3.22/gui_stuff.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-gtk-3.22/gui_stuff.c?rev=34245&r1=34244&r2=34245&view=diff
==============================================================================
--- trunk/client/gui-gtk-3.22/gui_stuff.c       (original)
+++ trunk/client/gui-gtk-3.22/gui_stuff.c       Tue Oct 25 20:58:00 2016
@@ -1028,7 +1028,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