Mercurial > emacs
changeset 51677:0fecdab10707
(fast_find_position): Enable Gerd's new definition.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 27 Jun 2003 02:24:29 +0000 |
parents | f9d7d97a1d37 |
children | 256d7b81b774 |
files | src/xdisp.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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