summaryrefslogtreecommitdiff
path: root/pango/fonts.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2008-12-08 03:59:49 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2008-12-08 03:59:49 +0000
commit33079f7ddb48401b86409710eca18689eb558327 (patch)
treefa81f0c0404b8862e45db5afc4884dda0c6c3b65 /pango/fonts.c
parent52fc190261c536c86e5e4e7d50bf990d02eba18e (diff)
downloadpango-33079f7ddb48401b86409710eca18689eb558327.tar.gz
Bug 499626 – Space should be optional after comma in
2008-12-07 Behdad Esfahbod <behdad@gnome.org> Bug 499626 – Space should be optional after comma in PangoFontDescription input string * pango/fonts.c (getword): Don't require space after comma. svn path=/trunk/; revision=2754
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;