summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2011-02-16 21:09:20 +0200
committerEli Zaretskii <eliz@gnu.org>2011-02-16 21:09:20 +0200
commit026d69ecec7ec7cb19470779126041e065aea6b1 (patch)
tree73d56df40cbef963bba65ab8f4e71e174ca35193
parent15f58304c4037eb162cc96273e50ca3c82452290 (diff)
downloademacs-026d69ecec7ec7cb19470779126041e065aea6b1.tar.gz
Use KVAR in the MS-DOS build.
msdos.c (internal_terminal_init): Use KVAR.
-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)
{