From: dooglus Date: Fri, 25 Jan 2008 14:21:57 +0000 (+0000) Subject: Avoid warning from g++ 4.3. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=021f784a20d664c314b18beb3a7c39f3cf11aff5;hp=563491d277d4c9da4b4fb41761f2c5525f66b8bc;p=synfig.git Avoid warning from g++ 4.3. git-svn-id: http://svn.voria.com/code@1477 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/modules/lyr_freetype/lyr_freetype.cpp b/synfig-core/trunk/src/modules/lyr_freetype/lyr_freetype.cpp index c844f57..23e9580 100644 --- a/synfig-core/trunk/src/modules/lyr_freetype/lyr_freetype.cpp +++ b/synfig-core/trunk/src/modules/lyr_freetype/lyr_freetype.cpp @@ -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") {