Author: mlytwyn
Date: Wed Jul 22 18:02:13 2015
New Revision: 38831

URL: http://svn.gna.org/viewcvs/gnustep?rev=38831&view=rev
Log:
Fix missing font hack with defaults key GSDefaultForMissingFont set to font 
name to use

Modified:
    libs/gui/branches/gnustep_testplant_branch/Source/NSFont.m

Modified: libs/gui/branches/gnustep_testplant_branch/Source/NSFont.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/gui/branches/gnustep_testplant_branch/Source/NSFont.m?rev=38831&r1=38830&r2=38831&view=diff
==============================================================================
--- libs/gui/branches/gnustep_testplant_branch/Source/NSFont.m  (original)
+++ libs/gui/branches/gnustep_testplant_branch/Source/NSFont.m  Wed Jul 22 
18:02:13 2015
@@ -880,7 +880,7 @@
                 }
               
               // In case the font for name was missing also...
-              if (cls && [GSCurrentServer() isKindOfClass: cls])
+              if (fontInfo == nil)
                 {
                   // HACK FIX FOR MISSING FONT - NEEDS TO BE FIXED...
                   fontInfo = RETAIN([GSFontInfo fontInfoForFontName: @"Arial"


_______________________________________________
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to