comparison src/xdisp.c @ 65015:103b7190c29c

(pos_visible_p): Adjust X value if window is hscrolled.
author Kim F. Storm <storm@cua.dk>
date Wed, 17 Aug 2005 14:59:41 +0000
parents 4de8eb59ebbe
children a093a1e65b71
comparison
equal deleted inserted replaced
65014:3aa61588445b 65015:103b7190c29c
1345 if (old_buffer) 1345 if (old_buffer)
1346 set_buffer_internal_1 (old_buffer); 1346 set_buffer_internal_1 (old_buffer);
1347 1347
1348 current_header_line_height = current_mode_line_height = -1; 1348 current_header_line_height = current_mode_line_height = -1;
1349 1349
1350 if (visible_p && w->hscroll > 0)
1351 *x -= w->hscroll;
1352
1350 return visible_p; 1353 return visible_p;
1351 } 1354 }
1352 1355
1353 1356
1354 /* Return the next character from STR which is MAXLEN bytes long. 1357 /* Return the next character from STR which is MAXLEN bytes long.