summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2017-10-25 21:05:44 +0000
committerEduard Braun <eduard.braun2@gmx.de>2017-10-25 21:05:44 +0000
commitf346413e6258381d8e30825f22d8cd40fdf806bc (patch)
tree05637a87b1a979fd5d77b96ace2f3448978fdd39 /src
parentAdd limited support for CSS 'font-face' rule. (diff)
downloadinkscape-f346413e6258381d8e30825f22d8cd40fdf806bc.tar.gz
inkscape-f346413e6258381d8e30825f22d8cd40fdf806bc.zip
Fix code accidentally made useless in de6d47ed290e02aa4bdc64d6cea5a6c8c20e61c7
Diffstat (limited to 'src')
-rw-r--r--src/libnrtype/FontFactory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libnrtype/FontFactory.cpp b/src/libnrtype/FontFactory.cpp
index 2b1087eec..9c62e5483 100644
--- a/src/libnrtype/FontFactory.cpp
+++ b/src/libnrtype/FontFactory.cpp
@@ -936,7 +936,7 @@ void font_factory::AddFontsDir(char const *utf8dir)
FcConfig *conf = NULL;
# if PANGO_VERSION_CHECK(1,38,0)
- pango_fc_font_map_get_config(PANGO_FC_FONT_MAP(fontServer));
+ conf = pango_fc_font_map_get_config(PANGO_FC_FONT_MAP(fontServer));
# endif
FcBool res = FcConfigAppFontAddDir(conf, (FcChar8 const *)dir);
if (res = FcTrue) {
@@ -968,7 +968,7 @@ void font_factory::AddFontFile(char const *utf8file)
FcConfig *conf = NULL;
# if PANGO_VERSION_CHECK(1,38,0)
- pango_fc_font_map_get_config(PANGO_FC_FONT_MAP(fontServer));
+ conf = pango_fc_font_map_get_config(PANGO_FC_FONT_MAP(fontServer));
# endif
FcBool res = FcConfigAppFontAddFile(conf, (FcChar8 const *)file);
if (res = FcTrue) {