From 026d69ecec7ec7cb19470779126041e065aea6b1 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 16 Feb 2011 21:09:20 +0200 Subject: [PATCH] Use KVAR in the MS-DOS build. msdos.c (internal_terminal_init): Use KVAR. --- src/ChangeLog | 2 ++ src/msdos.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index f55ca56caef..ff950f4d9fd 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2011-02-16 Eli Zaretskii + * msdos.c (internal_terminal_init): Use KVAR. + * w32fns.c (Fx_create_frame): Use KVAR. * w32term.c (w32_create_terminal): Use KVAR. diff --git a/src/msdos.c b/src/msdos.c index 4fdfa64e367..8f0f6776aaa 100644 --- a/src/msdos.c +++ b/src/msdos.c @@ -1793,7 +1793,7 @@ internal_terminal_init (void) } tty = FRAME_TTY (sf); - current_kboard->Vwindow_system = Qpc; + KVAR (current_kboard, Vwindow_system) = Qpc; sf->output_method = output_msdos_raw; if (init_needed) { -- 2.39.5