changeset 46791:e22c0d1c4c97

(forward_to_next_line_start): Fix a condition that lead to a newline being skipped.
author Gerd Moellmann <gerd@gnu.org>
date Sat, 03 Aug 2002 12:44:18 +0000
parents c217aa0214e2
children 85dd81534965
files src/xdisp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Sat Aug 03 09:23:25 2002 +0000
+++ b/src/xdisp.c	Sat Aug 03 12:44:18 2002 +0000
@@ -3876,7 +3876,7 @@
 
   /* If we didn't find a newline near enough, see if we can use a
      short-cut.  */
-  if (n == MAX_NEWLINE_DISTANCE)
+  if (!newline_found_p)
     {
       int start = IT_CHARPOS (*it);
       int limit = find_next_newline_no_quit (start, 1);