diff options
author | Owen Taylor <otaylor@redhat.com> | 2004-06-21 19:46:32 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2004-06-21 19:46:32 +0000 |
commit | 4d48d045a04c054c88fa09a578bd66cec54f8d42 (patch) | |
tree | a7398c7da63396bcb4f45324c09d31428fb916f3 /pango/pango-attributes.c | |
parent | a397495f91e6aa3455264cd122f5628a49c44b9c (diff) | |
download | pango-4d48d045a04c054c88fa09a578bd66cec54f8d42.tar.gz |
Initialize state->lang from context->language if not otherwise set.
Mon Jun 21 15:26:44 2004 Owen Taylor <otaylor@redhat.com>
* pango/pango-context.c (update_attr_iterator): Initialize
state->lang from context->language if not otherwise set.
Without doing this, the default language tag was, not
suprisingly, having no effect! (#137334, Frederic Zhang)
* pango/pango-attributes.c (pango_attr_iterator_get_font):
Fix typo in doc comment.
Diffstat (limited to 'pango/pango-attributes.c')
-rw-r--r-- | pango/pango-attributes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-attributes.c b/pango/pango-attributes.c index a8801948..cd0af8bd 100644 --- a/pango/pango-attributes.c +++ b/pango/pango-attributes.c @@ -1406,7 +1406,7 @@ pango_attr_iterator_get (PangoAttrIterator *iterator, * so if you plan to keep it around, you must call: * <literal>pango_font_description_set_family (desc, pango_font_description_get_family (desc))</literal>. * @language: if non-%NULL, location to store language tag for item, or %NULL - * if non is found. + * if none is found. * @extra_attrs: if non-%NULL, location in which to store a list of non-font * attributes at the the current position; only the highest priority * value of each attribute will be added to this list. In order |