# HG changeset patch # User Richard M. Stallman # Date 1056680669 0 # Node ID 0fecdab107070d0e15c695388616b491be4a5843 # Parent f9d7d97a1d375d4e6877ce32e1ea99f279e0d105 (fast_find_position): Enable Gerd's new definition. diff -r f9d7d97a1d37 -r 0fecdab10707 src/xdisp.c --- a/src/xdisp.c Fri Jun 27 02:21:51 2003 +0000 +++ b/src/xdisp.c Fri Jun 27 02:24:29 2003 +0000 @@ -19248,7 +19248,7 @@ of last line in W. In the row containing CHARPOS, stop before glyphs having STOP as object. */ -#if 0 /* This is a version of fast_find_position that's more correct +#if 1 /* This is a version of fast_find_position that's more correct in the presence of hscrolling, for example. I didn't install it right away because the problem fixed is minor, it failed in 20.x as well, and I think it's too risky to install @@ -19315,7 +19315,7 @@ return past_end; } -#else /* not 0 */ +#else /* not 1 */ static int fast_find_position (w, pos, hpos, vpos, x, y, stop) @@ -19413,7 +19413,7 @@ return 0; } -#endif /* not 0 */ +#endif /* not 1 */ /* Find the position of the glyph for position POS in OBJECT in