summaryrefslogtreecommitdiff
path: root/pango/break-thai.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-08-21 22:44:22 +0200
committerMatthias Clasen <mclasen@redhat.com>2019-08-21 22:45:18 +0200
commit71e865208d059a73aba09ec6a9d0650b40f87d3f (patch)
tree20b1d0f211d1cd37f0d71838b49c962aa59fc754 /pango/break-thai.c
parentfb72c7dd3e074f28e7cfa98388a87f1aaffc12ee (diff)
downloadpango-71e865208d059a73aba09ec6a9d0650b40f87d3f.tar.gz
Revert "Update break-thai.c to Unicode 11"
This reverts commit bca876de9b8cad4c912a2734561f2fe23b2d872a. See https://gitlab.gnome.org/GNOME/pango/issues/413
Diffstat (limited to 'pango/break-thai.c')
-rw-r--r--pango/break-thai.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pango/break-thai.c b/pango/break-thai.c
index 65b527aa..85b9e54a 100644
--- a/pango/break-thai.c
+++ b/pango/break-thai.c
@@ -88,13 +88,13 @@ break_thai (const char *text,
#endif
for (cnt = 0; cnt < len; cnt++)
- if (attrs[brk_pnts[cnt]].is_line_break)
+ if (attrs[brk_pnts[cnt]].is_char_break)
{
- /* Only allow additional char breaks if line-breaking is NOT
- * prohibited. (The alternative would be to set is_line_break to
+ /* Only allow additional line breaks if line-breaking is NOT
+ * prohibited. (The alternative would be to set is_char_break to
* TRUE as well. NOT setting it will break invariants that any
* line break opportunity is also a char break opportunity. */
- attrs[brk_pnts[cnt]].is_char_break = TRUE;
+ attrs[brk_pnts[cnt]].is_line_break = TRUE;
attrs[brk_pnts[cnt]].is_word_start = TRUE;
attrs[brk_pnts[cnt]].is_word_end = TRUE;
}