summaryrefslogtreecommitdiff
path: root/src/unexmacosx.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2012-07-05 18:04:57 +0300
committerEli Zaretskii <eliz@gnu.org>2012-07-05 18:04:57 +0300
commitd6e7bf450c0a084927d533cb6913bc5f540a0032 (patch)
tree32a92089fbf91bc9f7021a221a9797e0f4e6b8bc /src/unexmacosx.c
parent431391ec72c1c6ef324201ee00eabaf5399480dc (diff)
downloademacs-d6e7bf450c0a084927d533cb6913bc5f540a0032.tar.gz
emacs-d6e7bf450c0a084927d533cb6913bc5f540a0032.tar.bz2
emacs-d6e7bf450c0a084927d533cb6913bc5f540a0032.zip
Fix bug #11857 with messed up display for insanely large hscroll values.
src/xdisp.c (window_hscroll_limited): New function. (pos_visible_p, init_iterator): Use it to avoid overflow of pixel coordinates when window's hscroll is set to insanely large values. src/window.h (struct window) <hscroll, min_hscroll>: Change type to 'int'.
Diffstat (limited to 'src/unexmacosx.c')
0 files changed, 0 insertions, 0 deletions