aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c
index b788c8f3fae..85b1c5018b8 100644
--- a/src/window.c
+++ b/src/window.c
@@ -2275,7 +2275,7 @@ Default for ARG is window width minus 2.")
2275{ 2275{
2276 2276
2277 if (NILP (arg)) 2277 if (NILP (arg))
2278 XFASTINT (arg) = window_internal_width (selected_window) - 2; 2278 XFASTINT (arg) = window_internal_width (XWINDOW (selected_window)) - 2;
2279 else 2279 else
2280 arg = Fprefix_numeric_value (arg); 2280 arg = Fprefix_numeric_value (arg);
2281 2281
@@ -2292,7 +2292,7 @@ Default for ARG is window width minus 2.")
2292 register Lisp_Object arg; 2292 register Lisp_Object arg;
2293{ 2293{
2294 if (NILP (arg)) 2294 if (NILP (arg))
2295 XFASTINT (arg) = window_internal_width (selected_window) - 2; 2295 XFASTINT (arg) = window_internal_width (XWINDOW (selected_window)) - 2;
2296 else 2296 else
2297 arg = Fprefix_numeric_value (arg); 2297 arg = Fprefix_numeric_value (arg);
2298 2298