diff options
author | Havoc Pennington <hp@redhat.com> | 2001-01-05 19:51:55 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2001-01-05 19:51:55 +0000 |
commit | 1299c1df6fc2f5a397176a2edb2c224380c339cb (patch) | |
tree | 039ac402146af45bbd9ff01491c0b7d40ce6e0a8 /gtk/gtktextiter.c | |
parent | 93d87eb0f411c19f5c7d60158cc74befd31061d2 (diff) | |
download | gdk-pixbuf-1299c1df6fc2f5a397176a2edb2c224380c339cb.tar.gz |
this function was broken if called on the first position in the buffer.
2001-01-05 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.c (gtk_text_iter_ends_line): this function was
broken if called on the first position in the buffer.
* gtk/gtktextlayout.c (line_display_index_to_iter): fix
forward_to_delimiters to be called only if we aren't already at
the delimiters.
Diffstat (limited to 'gtk/gtktextiter.c')
-rw-r--r-- | gtk/gtktextiter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktextiter.c b/gtk/gtktextiter.c index c085fb326..3dc422e2f 100644 --- a/gtk/gtktextiter.c +++ b/gtk/gtktextiter.c @@ -1366,7 +1366,7 @@ gtk_text_iter_ends_line (const GtkTextIter *iter) */ GtkTextIter tmp = *iter; if (!gtk_text_iter_backward_char (&tmp)) - return FALSE; + return TRUE; return gtk_text_iter_get_char (&tmp) != '\r'; } |