comparison src/xdisp.c @ 62022:e0b1ba3bfcc9

(move_it_in_display_line_to): Fix last change.
author Kim F. Storm <storm@cua.dk>
date Mon, 02 May 2005 09:14:38 +0000
parents 9aeb4fcfe44d
children 5a280c44c432
comparison
equal deleted inserted replaced
62021:512d79799fbd 62022:e0b1ba3bfcc9
5878 int x, i, ascent = 0, descent = 0; 5878 int x, i, ascent = 0, descent = 0;
5879 5879
5880 /* Stop if we move beyond TO_CHARPOS (after an image or stretch glyph). */ 5880 /* Stop if we move beyond TO_CHARPOS (after an image or stretch glyph). */
5881 if ((op & MOVE_TO_POS) != 0 5881 if ((op & MOVE_TO_POS) != 0
5882 && BUFFERP (it->object) 5882 && BUFFERP (it->object)
5883 && it->method == GET_FROM_BUFFER
5883 && IT_CHARPOS (*it) > to_charpos) 5884 && IT_CHARPOS (*it) > to_charpos)
5884 { 5885 {
5885 result = MOVE_POS_MATCH_OR_ZV; 5886 result = MOVE_POS_MATCH_OR_ZV;
5886 break; 5887 break;
5887 } 5888 }