Commit 10f47690 authored by Havoc Pennington's avatar Havoc Pennington Committed by Havoc Pennington

handle case where offset == 0 and char_len == 0, bug #61729

2001-10-23  Havoc Pennington  <hp@redhat.com>

	* gtk/gtktextiter.c (test_log_attrs): handle case where offset ==
	0 and char_len == 0, bug #61729
parent 85cdc1ce
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.c (test_log_attrs): handle case where offset ==
0 and char_len == 0, bug #61729
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.c (gtk_text_iter_forward_cursor_positions): fix
......
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.c (test_log_attrs): handle case where offset ==
0 and char_len == 0, bug #61729
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.c (gtk_text_iter_forward_cursor_positions): fix
......
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.c (test_log_attrs): handle case where offset ==
0 and char_len == 0, bug #61729
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.c (gtk_text_iter_forward_cursor_positions): fix
......
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.c (test_log_attrs): handle case where offset ==
0 and char_len == 0, bug #61729
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.c (gtk_text_iter_forward_cursor_positions): fix
......
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.c (test_log_attrs): handle case where offset ==
0 and char_len == 0, bug #61729
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.c (gtk_text_iter_forward_cursor_positions): fix
......
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.c (test_log_attrs): handle case where offset ==
0 and char_len == 0, bug #61729
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.c (gtk_text_iter_forward_cursor_positions): fix
......
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.c (test_log_attrs): handle case where offset ==
0 and char_len == 0, bug #61729
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.c (gtk_text_iter_forward_cursor_positions): fix
......
......@@ -2869,7 +2869,7 @@ test_log_attrs (const GtkTextIter *iter,
* for one past the end
*/
if (offset <= char_len)
if (attrs && offset <= char_len)
result = (* func) (attrs, offset, 0, char_len);
return result;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment