diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2017-11-03 01:11:56 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2017-11-03 01:11:56 +0000 |
| commit | c2daa449f50418c3b25ed000eb1e68a48faa719e (patch) | |
| tree | 0f39ad1e2632303c43015e0243702f7a11f3cf55 /src/libnrtype | |
| parent | Add search and no results from stock icons. Improve text. Thanks Maren for th... (diff) | |
| parent | change assignment to equality (diff) | |
| download | inkscape-c2daa449f50418c3b25ed000eb1e68a48faa719e.tar.gz inkscape-c2daa449f50418c3b25ed000eb1e68a48faa719e.zip | |
Merge branch 'master' into SymbolsSearch
Diffstat (limited to 'src/libnrtype')
| -rw-r--r-- | src/libnrtype/FontFactory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libnrtype/FontFactory.cpp b/src/libnrtype/FontFactory.cpp index 9c62e5483..90df81261 100644 --- a/src/libnrtype/FontFactory.cpp +++ b/src/libnrtype/FontFactory.cpp @@ -939,7 +939,7 @@ void font_factory::AddFontsDir(char const *utf8dir) conf = pango_fc_font_map_get_config(PANGO_FC_FONT_MAP(fontServer)); # endif FcBool res = FcConfigAppFontAddDir(conf, (FcChar8 const *)dir); - if (res = FcTrue) { + if (res == FcTrue) { g_info("Fonts dir '%s' added successfully.", utf8dir); } else { g_warning("Could not add fonts dir '%s'.", utf8dir); @@ -971,7 +971,7 @@ void font_factory::AddFontFile(char const *utf8file) conf = pango_fc_font_map_get_config(PANGO_FC_FONT_MAP(fontServer)); # endif FcBool res = FcConfigAppFontAddFile(conf, (FcChar8 const *)file); - if (res = FcTrue) { + if (res == FcTrue) { g_info("Font file '%s' added successfully.", utf8file); } else { g_warning("Could not add font file '%s'.", utf8file); |
