Avoid warning from g++ 4.3.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 25 Jan 2008 14:21:57 +0000 (14:21 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 25 Jan 2008 14:21:57 +0000 (14:21 +0000)
git-svn-id: http://svn.voria.com/code@1477 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/modules/lyr_freetype/lyr_freetype.cpp

index c844f57..23e9580 100644 (file)
@@ -148,12 +148,14 @@ Layer_Freetype::new_font_(const synfig::String &font_fam_, int style, int weight
        //end evil hack
 
        if(font_fam=="arial black")
+       {
 #ifndef __APPLE__
-       if(new_face("ariblk"))
+               if(new_face("ariblk"))
                        return true;
                else
 #endif
                font_fam="sans serif";
+       }
 
        if(font_fam=="sans serif" || font_fam=="arial")
        {