Fix 1525707: fontconfig support patch had extra parentheses. Thanks to Daniel Fort.
authorpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 21 Jul 2006 05:24:39 +0000 (05:24 +0000)
committerpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 21 Jul 2006 05:24:39 +0000 (05:24 +0000)
git-svn-id: http://svn.voria.com/code@184 1f10aa63-cdf2-0310-b900-c93c546f37ac

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

index bd98e85..73d30a0 100644 (file)
@@ -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