Author: mlytwyn
Date: Mon Aug 17 00:46:40 2015
New Revision: 38892

URL: http://svn.gna.org/viewcvs/gnustep?rev=38892&view=rev
Log:
Reinstate missing font code in case 'GSDefaultForMissingFont' doens't work

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=38892&r1=38891&r2=38892&view=diff
==============================================================================
--- libs/gui/branches/gnustep_testplant_branch/Source/NSFont.m  (original)
+++ libs/gui/branches/gnustep_testplant_branch/Source/NSFont.m  Mon Aug 17 
00:46:40 2015
@@ -878,16 +878,16 @@
                                                              matrix: fontMatrix
                                                          screenFont: screen]);
                 }
-              
-              // In case the font for name was missing also...
-              if (fontInfo == nil)
-                {
-                  // HACK FIX FOR MISSING FONT - NEEDS TO BE FIXED...
-                  fontInfo = RETAIN([GSFontInfo fontInfoForFontName: @"Arial"
-                                                             matrix: fontMatrix
-                                                         screenFont: screen]);
-                }
             }
+          
+          // In case the 'GSDefaultForMissingFont' font for name was missing 
also...
+          if (fontInfo == nil)
+          {
+            // HACK FIX FOR MISSING FONT - NEEDS TO BE FIXED...
+            fontInfo = RETAIN([GSFontInfo fontInfoForFontName: @"Arial"
+                                                       matrix: fontMatrix
+                                                   screenFont: screen]);
+          }
         }
 
       if (fontInfo == nil)


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

Reply via email to