diff src/msdos.c @ 108299:a5fcd78ad3eb

Don't use XSYMBOL (foo)->value. msdos.c (dos_set_window_size): w16select.c (Fx_selection_exists_p): Use `Fsymbol_value (foo)' instead of `XSYMBOL (foo)->value'.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 07 May 2010 16:51:16 +0300
parents 06c34f190db1
children 240177dc47d7
line wrap: on
line diff
--- a/src/msdos.c	Fri May 07 15:57:24 2010 +0300
+++ b/src/msdos.c	Fri May 07 16:51:16 2010 +0300
@@ -528,8 +528,7 @@
   /* If the user specified a special video mode for these dimensions,
      use that mode.  */
   sprintf (video_name, "screen-dimensions-%dx%d", *rows, *cols);
-  video_mode = XSYMBOL (Fintern_soft (build_string (video_name),
-				      Qnil))-> value;
+  video_mode = Fsymbol_value (Fintern_soft (build_string (video_name), Qnil));
 
   if (INTEGERP (video_mode)
       && (video_mode_value = XINT (video_mode)) > 0)