From 771388a04b903a5f9551362b143cd8f3e520b37f Mon Sep 17 00:00:00 2001 From: pabs Date: Fri, 21 Jul 2006 05:24:39 +0000 Subject: [PATCH] Fix 1525707: fontconfig support patch had extra parentheses. Thanks to Daniel Fort. git-svn-id: http://svn.voria.com/code@184 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/src/modules/lyr_freetype/lyr_freetype.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 bd98e85..73d30a0 100644 --- a/synfig-core/trunk/src/modules/lyr_freetype/lyr_freetype.cpp +++ b/synfig-core/trunk/src/modules/lyr_freetype/lyr_freetype.cpp @@ -377,7 +377,7 @@ lyr_freetype::new_face(const String &newfont) FcResult result; if( !FcInit() ) { - synfig::warning("lyr_freetype: fontconfig: %s",_("unable to initialise"))); + synfig::warning("lyr_freetype: fontconfig: %s",_("unable to initialise")); error = 1; } else { FcPattern* pat = FcNameParse((FcChar8 *) newfont.c_str()); @@ -396,7 +396,7 @@ lyr_freetype::new_face(const String &newfont) error=FT_New_Face(ft_library,(const char*)file,face_index,&face); FcFontSetDestroy(fs); } else - synfig::warning("lyr_freetype: fontconfig: %s",_("empty font set"))); + synfig::warning("lyr_freetype: fontconfig: %s",_("empty font set")); } } #endif -- 2.7.4