From bbeb4e990606615000126c07f3209da43b2d527d Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Wed, 22 Oct 2008 14:48:35 +0000 Subject: [PATCH] * xdisp.c (next_element_from_buffer): Remove bogus xassert condition. --- src/ChangeLog | 9 +++++---- src/xdisp.c | 5 +---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index d853d5b55a7..f7e4b819286 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,4 +1,8 @@ -2008-10-02 Adrian Robert +2008-10-22 Juanma Barranquero + + * xdisp.c (next_element_from_buffer): Remove bogus xassert condition. + +2008-10-22 Adrian Robert * nsfns.m (ns_appkit_version): New function. (x-server-version): Use it. @@ -6178,7 +6182,6 @@ * lisp.h (Fbuffer_list): Declare. 2008-03-17 Jan Djärv - * gtkutil.c (free_frame_tool_bar): Only call gtk_container_remove if handlebox_widget is != 0. @@ -6649,7 +6652,6 @@ * intervals.h (INT_LISPLIKE): Remove. It may misfire. (NULL_INTERVAL_P, SET_INTERVAL_PARENT): Don't use it. - 2008-02-18 Jason Rumney * w32fns.c (Fw32_shell_execute): Encode parameters. @@ -12979,7 +12981,6 @@ * xdisp.c (load_overlay_strings): Fix copy&paste typo. 2007-11-09 Jason Rumney - * s/ms-w32.c (USE_TOOLKIT_SCROLL_BARS): Define. * w32term.c (w32_scroll_bar_handle_click): Use SCROLL_BAR_CLICK_EVENT. diff --git a/src/xdisp.c b/src/xdisp.c index 47ba85f7503..1794a6d3c02 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -6444,10 +6444,7 @@ next_element_from_buffer (it) { int success_p = 1; - /* Check this assumption, otherwise, we would never enter the - if-statement, below. */ - xassert (IT_CHARPOS (*it) >= BEGV - && IT_CHARPOS (*it) <= it->stop_charpos); + xassert (IT_CHARPOS (*it) >= BEGV); if (IT_CHARPOS (*it) >= it->stop_charpos) { -- 2.39.5