aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorEli Zaretskii2014-09-09 18:04:35 +0300
committerEli Zaretskii2014-09-09 18:04:35 +0300
commit1acb1beff16b4df3512f0fe59850ed4541d038c3 (patch)
tree043517952a10b7f5eaf61f1d038f4a444b87d917 /src/window.c
parentda604136b92764f159442496a9b18cb48204787e (diff)
downloademacs-1acb1beff16b4df3512f0fe59850ed4541d038c3.tar.gz
emacs-1acb1beff16b4df3512f0fe59850ed4541d038c3.zip
Fix the row number mistakenly reported by pos_visible_p in rare cases.
src/xdisp.c (pos_visible_p): Properly save and restore the iterator state around the call to line_bottom, since it can move the iterator to another screen line. This fixes off-by-one errors in the reported row in some rare cases.
Diffstat (limited to 'src/window.c')
0 files changed, 0 insertions, 0 deletions