aboutsummaryrefslogtreecommitdiffstats
path: root/src/msdos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/msdos.c')
-rw-r--r--src/msdos.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/msdos.c b/src/msdos.c
index 28d621f8cc1..ea604d29992 100644
--- a/src/msdos.c
+++ b/src/msdos.c
@@ -528,8 +528,7 @@ dos_set_window_size (rows, cols)
528 /* If the user specified a special video mode for these dimensions, 528 /* If the user specified a special video mode for these dimensions,
529 use that mode. */ 529 use that mode. */
530 sprintf (video_name, "screen-dimensions-%dx%d", *rows, *cols); 530 sprintf (video_name, "screen-dimensions-%dx%d", *rows, *cols);
531 video_mode = XSYMBOL (Fintern_soft (build_string (video_name), 531 video_mode = Fsymbol_value (Fintern_soft (build_string (video_name), Qnil));
532 Qnil))-> value;
533 532
534 if (INTEGERP (video_mode) 533 if (INTEGERP (video_mode)
535 && (video_mode_value = XINT (video_mode)) > 0) 534 && (video_mode_value = XINT (video_mode)) > 0)