Mercurial > emacs
changeset 1829:514384c3689d
* window.c (Fscroll_left, Fscroll_right): Don't forget to apply
XWINDOW to selected_window before passing it to window_internal_width.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Sat, 30 Jan 1993 01:21:00 +0000 |
parents | 1463592a6463 |
children | 5ad6249d10d4 |
files | src/window.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/window.c Fri Jan 29 22:13:36 1993 +0000 +++ b/src/window.c Sat Jan 30 01:21:00 1993 +0000 @@ -2275,7 +2275,7 @@ { if (NILP (arg)) - XFASTINT (arg) = window_internal_width (selected_window) - 2; + XFASTINT (arg) = window_internal_width (XWINDOW (selected_window)) - 2; else arg = Fprefix_numeric_value (arg); @@ -2292,7 +2292,7 @@ register Lisp_Object arg; { if (NILP (arg)) - XFASTINT (arg) = window_internal_width (selected_window) - 2; + XFASTINT (arg) = window_internal_width (XWINDOW (selected_window)) - 2; else arg = Fprefix_numeric_value (arg);