Commit b8baad40 authored by Jim Blandy's avatar Jim Blandy
Browse files

* window.c (Fscroll_left, Fscroll_right): Don't forget to apply

	XWINDOW to selected_window before passing it to window_internal_width.
parent c4e5d591
......@@ -2275,7 +2275,7 @@ Default for ARG is window width minus 2.")
{
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 @@ Default for ARG is window width minus 2.")
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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment