# HG changeset patch # User Kim F. Storm # Date 1077052019 0 # Node ID c49824d1b4df36442bc569d2a1395ea1af8e6d62 # Parent 668c0f8ab92b462f362981fb47bd1524d272d123 (fast_find_position): Fix return value of new version (was inverted compared to the 21.1 version). diff -r 668c0f8ab92b -r c49824d1b4df src/xdisp.c --- a/src/xdisp.c Tue Feb 17 21:06:22 2004 +0000 +++ b/src/xdisp.c Tue Feb 17 21:06:59 2004 +0000 @@ -19656,7 +19656,7 @@ if (charpos < MATRIX_ROW_START_CHARPOS (first)) { *x = *y = *hpos = *vpos = 0; - return 0; + return 1; } else { @@ -19696,7 +19696,7 @@ } *hpos = glyph - row->glyphs[TEXT_AREA]; - return past_end; + return !past_end; } #else /* not 1 */