[pango/log-attr-tweaks] break: Enforce mandatory breaks at eot



commit f6d96478c9148fcc0a40345329d30733e1a9b101
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Aug 24 00:43:33 2021 -0400

    break: Enforce mandatory breaks at eot

 pango/break.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/pango/break.c b/pango/break.c
index fdbafa99..dac60cb3 100644
--- a/pango/break.c
+++ b/pango/break.c
@@ -1575,6 +1575,7 @@ default_break (const char    *text,
 
   attrs[0].is_line_break = FALSE; /* Rule LB2 */
   attrs[i].is_line_break = TRUE;  /* Rule LB3 */
+  attrs[i].is_mandatory_break = TRUE;  /* Rule LB3 */
 }
 
 /* }}} */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]