summaryrefslogtreecommitdiffstats
path: root/src/libnrtype
diff options
context:
space:
mode:
authorGeoff Lankow <geoff@darktrojan.net>2017-12-31 03:00:43 +0000
committerGeoff Lankow <geoff@darktrojan.net>2017-12-31 03:04:22 +0000
commit5ef79fa58a509ad51c23f2ad93460ca2061642cd (patch)
tree2620f5b1877082d485ee00c08c65c180b25e483f /src/libnrtype
parentEscape font name when setting preview text (diff)
downloadinkscape-5ef79fa58a509ad51c23f2ad93460ca2061642cd.tar.gz
inkscape-5ef79fa58a509ad51c23f2ad93460ca2061642cd.zip
Don't double-escape names of used fonts
Diffstat (limited to 'src/libnrtype')
-rw-r--r--src/libnrtype/font-lister.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnrtype/font-lister.cpp b/src/libnrtype/font-lister.cpp
index 35dc5ecc3..1b75f70af 100644
--- a/src/libnrtype/font-lister.cpp
+++ b/src/libnrtype/font-lister.cpp
@@ -1085,7 +1085,7 @@ void font_lister_cell_data_func(GtkCellLayout * /*cell_layout*/,
markup = "<span foreground='darkblue'>";
/* See if font-family on system */
- std::vector<Glib::ustring> tokens = Glib::Regex::split_simple("\\s*,\\s*", family_escaped);
+ std::vector<Glib::ustring> tokens = Glib::Regex::split_simple("\\s*,\\s*", family);
for (size_t i = 0; i < tokens.size(); ++i) {
Glib::ustring token = tokens[i];