diff options
author | Jody Goldberg <jody@gnome.org> | 2004-05-28 04:30:54 +0000 |
---|---|---|
committer | Jody Goldberg <jody@src.gnome.org> | 2004-05-28 04:30:54 +0000 |
commit | 55d6816eab0b796b412b45be3dbf768d5945c81a (patch) | |
tree | c06b24a92020f972852e764ada35df0364324318 /pango/pango-attributes.h | |
parent | dc949d2a601e870084572f231b0ecb57687557d3 (diff) | |
download | pango-55d6816eab0b796b412b45be3dbf768d5945c81a.tar.gz |
only invert if the layout and the context really disagree, not if they are
2004-04-29 Jody Goldberg <jody@gnome.org>
* pango/pango-layout.c (get_alignment) : only invert if the layout and
the context really disagree, not if they are WEAK_LTR vs LTR
2004-03-11 Jody Goldberg <jody@gnome.org>
* pango/pango-attributes.h : Add a comment clarifying that
PangoAttribute::end_index is _exclusive_. The range is [start..end)
Additionally clarify that that the indicies are in _bytes_ not
characters.
Diffstat (limited to 'pango/pango-attributes.h')
-rw-r--r-- | pango/pango-attributes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pango-attributes.h b/pango/pango-attributes.h index b3dd3fa3..4488d3e9 100644 --- a/pango/pango-attributes.h +++ b/pango/pango-attributes.h @@ -95,8 +95,8 @@ typedef enum { struct _PangoAttribute { const PangoAttrClass *klass; - guint start_index; - guint end_index; + guint start_index; /* in bytes */ + guint end_index; /* the character containing this byte is not included */ }; typedef gboolean (*PangoAttrFilterFunc) (PangoAttribute *attribute, |