summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-11-19 02:19:00 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-11-19 02:19:00 -0500
commit497be71ce81f0849a83378ccb490ad0d1e59b9c1 (patch)
tree8c247f5126adffa6969c013aeb06f3709bb4b7e8
parentf82c7d11f098d3e4d26c24bc7decf475aed2109d (diff)
downloadpango-497be71ce81f0849a83378ccb490ad0d1e59b9c1.tar.gz
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.
-rw-r--r--pango/pango-attributes.c4
1 files 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);
}
/**