summaryrefslogtreecommitdiff
path: root/pango/break.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2004-12-02 20:37:47 +0000
committerOwen Taylor <otaylor@src.gnome.org>2004-12-02 20:37:47 +0000
commita05cff78658f877694a6b1b4627578a4b7398ca0 (patch)
treef17506d83207a196af0ff996326e4b4ba612246b /pango/break.c
parent13620891fe4843752bb68aecff0bff93d7c9be47 (diff)
downloadpango-a05cff78658f877694a6b1b4627578a4b7398ca0.tar.gz
Ignore formatting characters when determining word boundaries (Part of
Thu Dec 2 15:31:33 2004 Owen Taylor <otaylor@redhat.com> * pango/break.c (pango_default_break): Ignore formatting characters when determining word boundaries (Part of #97545, Behdad Esfahbod)
Diffstat (limited to 'pango/break.c')
-rw-r--r--pango/break.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pango/break.c b/pango/break.c
index 47bdcc64..f617b76c 100644
--- a/pango/break.c
+++ b/pango/break.c
@@ -832,6 +832,7 @@ pango_default_break (const gchar *text,
case G_UNICODE_COMBINING_MARK:
case G_UNICODE_ENCLOSING_MARK:
case G_UNICODE_NON_SPACING_MARK:
+ case G_UNICODE_FORMAT:
/* nothing, we just eat these up as part of the word */
break;