[pango/more-log-attr-things: 2/8] break: Enforce conditions at eot




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

    break: Enforce conditions at eot
    
    We must have a mandatory break at eot.

 pango/break.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/pango/break.c b/pango/break.c
index 0f5350e2..0f85c3fa 100644
--- a/pango/break.c
+++ b/pango/break.c
@@ -1650,6 +1650,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]