aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.h
diff options
context:
space:
mode:
authorEli Zaretskii2012-07-05 18:20:12 +0300
committerEli Zaretskii2012-07-05 18:20:12 +0300
commitea2ac79792ff8720f16ae72118e42e81c46d4653 (patch)
tree523d430d14e74e79ac0db13d0b250eea076b53d6 /src/window.h
parentd6e7bf450c0a084927d533cb6913bc5f540a0032 (diff)
downloademacs-ea2ac79792ff8720f16ae72118e42e81c46d4653.tar.gz
emacs-ea2ac79792ff8720f16ae72118e42e81c46d4653.zip
Revert hscroll and min_hscroll to ptrdiff_t.
Fixes: debbugs:11857
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.h b/src/window.h
index 2684713eb6b..10cabed979b 100644
--- a/src/window.h
+++ b/src/window.h
@@ -238,11 +238,11 @@ struct window
238 int sequence_number; 238 int sequence_number;
239 239
240 /* Number of columns display within the window is scrolled to the left. */ 240 /* Number of columns display within the window is scrolled to the left. */
241 int hscroll; 241 ptrdiff_t hscroll;
242 242
243 /* Minimum hscroll for automatic hscrolling. This is the value 243 /* Minimum hscroll for automatic hscrolling. This is the value
244 the user has set, by set-window-hscroll for example. */ 244 the user has set, by set-window-hscroll for example. */
245 int min_hscroll; 245 ptrdiff_t min_hscroll;
246 246
247 /* Displayed buffer's text modification events counter as of last time 247 /* Displayed buffer's text modification events counter as of last time
248 display completed. */ 248 display completed. */