summaryrefslogtreecommitdiff
path: root/pango/fonts.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/fonts.c')
-rw-r--r--pango/fonts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/fonts.c b/pango/fonts.c
index f5570b20..3f0c98d3 100644
--- a/pango/fonts.c
+++ b/pango/fonts.c
@@ -967,7 +967,7 @@ getword (const char *str, const char *last, size_t *wordlen)
last--;
result = last;
- while (result > str && !g_ascii_isspace (*(result - 1)))
+ while (result > str && !g_ascii_isspace (*(result - 1)) && *(result - 1) != ',')
result--;
*wordlen = last - result;