summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog2
-rw-r--r--src/msdos.c2
2 files changed, 3 insertions, 1 deletions
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 <eliz@gnu.org>
+ * 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)
{