diff --git a/ChangeLog b/ChangeLog index 901942a4d..ead6fea19 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Sat Apr 11 02:01:31 1998 Owen Taylor + + * gtk/gtktext.c (scroll_down): Removed incorrect part of + assertion that was causing failures for scrolling a single + line very short text widget. + Sat Apr 11 01:41:55 1998 Owen Taylor * gtk/gtktext.c (expose_text): Fixed a sign problem diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 901942a4d..ead6fea19 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,9 @@ +Sat Apr 11 02:01:31 1998 Owen Taylor + + * gtk/gtktext.c (scroll_down): Removed incorrect part of + assertion that was causing failures for scrolling a single + line very short text widget. + Sat Apr 11 01:41:55 1998 Owen Taylor * gtk/gtktext.c (expose_text): Fixed a sign problem diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 901942a4d..ead6fea19 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +Sat Apr 11 02:01:31 1998 Owen Taylor + + * gtk/gtktext.c (scroll_down): Removed incorrect part of + assertion that was causing failures for scrolling a single + line very short text widget. + Sat Apr 11 01:41:55 1998 Owen Taylor * gtk/gtktext.c (expose_text): Fixed a sign problem diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 901942a4d..ead6fea19 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,9 @@ +Sat Apr 11 02:01:31 1998 Owen Taylor + + * gtk/gtktext.c (scroll_down): Removed incorrect part of + assertion that was causing failures for scrolling a single + line very short text widget. + Sat Apr 11 01:41:55 1998 Owen Taylor * gtk/gtktext.c (expose_text): Fixed a sign problem diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 901942a4d..ead6fea19 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +Sat Apr 11 02:01:31 1998 Owen Taylor + + * gtk/gtktext.c (scroll_down): Removed incorrect part of + assertion that was causing failures for scrolling a single + line very short text widget. + Sat Apr 11 01:41:55 1998 Owen Taylor * gtk/gtktext.c (expose_text): Fixed a sign problem diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 901942a4d..ead6fea19 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +Sat Apr 11 02:01:31 1998 Owen Taylor + + * gtk/gtktext.c (scroll_down): Removed incorrect part of + assertion that was causing failures for scrolling a single + line very short text widget. + Sat Apr 11 01:41:55 1998 Owen Taylor * gtk/gtktext.c (expose_text): Fixed a sign problem diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 901942a4d..ead6fea19 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +Sat Apr 11 02:01:31 1998 Owen Taylor + + * gtk/gtktext.c (scroll_down): Removed incorrect part of + assertion that was causing failures for scrolling a single + line very short text widget. + Sat Apr 11 01:41:55 1998 Owen Taylor * gtk/gtktext.c (expose_text): Fixed a sign problem diff --git a/gtk/gtktext.c b/gtk/gtktext.c index 9c332d169..85ac488d3 100644 --- a/gtk/gtktext.c +++ b/gtk/gtktext.c @@ -3732,8 +3732,7 @@ scroll_down (GtkText* text, gint diff0) while (diff0-- > 0) { - g_assert (text->line_start_cache && - text->line_start_cache->next); + g_assert (text->line_start_cache); if (text->first_cut_pixels < LINE_HEIGHT(CACHE_DATA(text->line_start_cache)) - 1) {