diff options
author | Benjamin Otte <otte@redhat.com> | 2011-07-07 03:37:52 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2011-07-07 03:37:52 +0200 |
commit | a24ec1583b734a7edf2b333ab7f1c6deff5f1225 (patch) | |
tree | a240b45f9a27c092880882c3ec9962fcdc44b9bc /gtk/gtkpango.c | |
parent | 15ab20fdfb5b148e0626d3f81cd22210951b724e (diff) | |
download | gtk+-a24ec1583b734a7edf2b333ab7f1c6deff5f1225.tar.gz |
gtkpango: Count letters properly
The code was using the wrong variable and that then caused assertions
Diffstat (limited to 'gtk/gtkpango.c')
-rw-r--r-- | gtk/gtkpango.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkpango.c b/gtk/gtkpango.c index 70cd464205..6af3a8337c 100644 --- a/gtk/gtkpango.c +++ b/gtk/gtkpango.c @@ -1235,7 +1235,7 @@ _gtk_pango_get_text_at (PangoLayout *layout, switch (boundary_type) { case ATK_TEXT_BOUNDARY_CHAR: - start = _gtk_pango_move_chars (layout, start, 1); + end = _gtk_pango_move_chars (layout, end, 1); break; case ATK_TEXT_BOUNDARY_WORD_START: |