]> code.delx.au - gnu-emacs/blobdiff - src/w32term.c
Use KSET for write access to Lisp_Object members of struct kboard.
[gnu-emacs] / src / w32term.c
index 190919f717626a72d02927090a10dc109468230b..7da9433d3f106dd0b1a128cda472bdf120266681 100644 (file)
@@ -6232,7 +6232,7 @@ w32_create_terminal (struct w32_display_info *dpyinfo)
      terminal like X does.  */
   terminal->kboard = xmalloc (sizeof (KBOARD));
   init_kboard (terminal->kboard);
-  KVAR (terminal->kboard, Vwindow_system) = intern ("w32");
+  KSET (terminal->kboard, Vwindow_system, intern ("w32"));
   terminal->kboard->next_kboard = all_kboards;
   all_kboards = terminal->kboard;
   /* Don't let the initial kboard remain current longer than necessary.