diff options
| author | Kim F. Storm | 2004-02-17 21:06:59 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2004-02-17 21:06:59 +0000 |
| commit | 7a272039b56da50d691379eaa00edd98b01d0514 (patch) | |
| tree | 6ddc6b3675d48da7614a9ffcd31f881702819eec /src | |
| parent | 0bf7d00506900a9b0469214bdd0aa76f8d090eb4 (diff) | |
| download | emacs-7a272039b56da50d691379eaa00edd98b01d0514.tar.gz emacs-7a272039b56da50d691379eaa00edd98b01d0514.zip | |
(fast_find_position): Fix return value of new version
(was inverted compared to the 21.1 version).
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 8e0cf0d89ad..93a90dafdfe 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -19656,7 +19656,7 @@ fast_find_position (w, charpos, hpos, vpos, x, y, stop) | |||
| 19656 | if (charpos < MATRIX_ROW_START_CHARPOS (first)) | 19656 | if (charpos < MATRIX_ROW_START_CHARPOS (first)) |
| 19657 | { | 19657 | { |
| 19658 | *x = *y = *hpos = *vpos = 0; | 19658 | *x = *y = *hpos = *vpos = 0; |
| 19659 | return 0; | 19659 | return 1; |
| 19660 | } | 19660 | } |
| 19661 | else | 19661 | else |
| 19662 | { | 19662 | { |
| @@ -19696,7 +19696,7 @@ fast_find_position (w, charpos, hpos, vpos, x, y, stop) | |||
| 19696 | } | 19696 | } |
| 19697 | 19697 | ||
| 19698 | *hpos = glyph - row->glyphs[TEXT_AREA]; | 19698 | *hpos = glyph - row->glyphs[TEXT_AREA]; |
| 19699 | return past_end; | 19699 | return !past_end; |
| 19700 | } | 19700 | } |
| 19701 | 19701 | ||
| 19702 | #else /* not 1 */ | 19702 | #else /* not 1 */ |