[pango/matthiasc/for-main: 24/25] Tweak word and sentence attributes




commit 497be71ce81f0849a83378ccb490ad0d1e59b9c1
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Nov 19 02:19:00 2021 -0500

    Tweak word and sentence attributes
    
    The value does not really matter for these,
    but it looks more natural if they have a
    value of 1, and not 0.

 pango/pango-attributes.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pango/pango-attributes.c b/pango/pango-attributes.c
index cfaf9b17..04179fbb 100644
--- a/pango/pango-attributes.c
+++ b/pango/pango-attributes.c
@@ -1391,7 +1391,7 @@ pango_attr_word_new (void)
     pango_attr_int_equal,
   };
 
-  return pango_attr_int_new (&klass, 0);
+  return pango_attr_int_new (&klass, 1);
 }
 
 /**
@@ -1418,7 +1418,7 @@ pango_attr_sentence_new (void)
     pango_attr_int_equal,
   };
 
-  return pango_attr_int_new (&klass, 0);
+  return pango_attr_int_new (&klass, 1);
 }
 
 /**


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