summaryrefslogtreecommitdiff
path: root/src/msdos.c
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2012-08-06 09:27:54 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2012-08-06 09:27:54 +0400
commitedd74c35125983cbf822b15828886c7d2e50b275 (patch)
tree2fd1c3704ee48251a092d1631dc0d560bfe1961d /src/msdos.c
parentba7b015436fce401af7f40d1ee8dcc08cdf2541a (diff)
Separate read and write access to Lisp_Object slots of struct frame.
* frame.h (FGET, FSET): New macros similar to AREF and ASET. * buffer.c, data.c, dispnew.c, dosfns.c, eval.c, fontset.c, frame.c: * fringe.c, gtkutil.c, minibuf.c, msdos.c, nsfns.m, nsmenu.m, nsterm.m: * print.c, term.c, w32fns.c, w32menu.c, w32term.c, window.c, window.h: * xdisp.c, xfaces.c, xfns.c, xmenu.c, xterm.c: Adjust users.
Diffstat (limited to 'src/msdos.c')
-rw-r--r--src/msdos.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/msdos.c b/src/msdos.c
index 93af0d6e26..8ff038791c 100644
--- a/src/msdos.c
+++ b/src/msdos.c
@@ -1318,8 +1318,8 @@ IT_frame_up_to_date (struct frame *f)
frame parameters. For the selected window, we use either its
buffer-local value or the value from the frame parameters if the
buffer doesn't define its local value for the cursor type. */
- sw = XWINDOW (FVAR (f, selected_window));
- frame_desired_cursor = Fcdr (Fassq (Qcursor_type, FVAR (f, param_alist)));
+ sw = XWINDOW (FGET (f, selected_window));
+ frame_desired_cursor = Fcdr (Fassq (Qcursor_type, FGET (f, param_alist)));
if (cursor_in_echo_area
&& FRAME_HAS_MINIBUF_P (f)
&& EQ (FRAME_MINIBUF_WINDOW (f), echo_area_window)
@@ -1598,7 +1598,7 @@ IT_set_frame_parameters (struct frame *f, Lisp_Object alist)
Lisp_Object *values
= (Lisp_Object *) alloca (length * word_size);
/* Do we have to reverse the foreground and background colors? */
- int reverse = EQ (Fcdr (Fassq (Qreverse, FVAR (f, param_alist))), Qt);
+ int reverse = EQ (Fcdr (Fassq (Qreverse, FGET (f, param_alist))), Qt);
int redraw = 0, fg_set = 0, bg_set = 0;
unsigned long orig_fg, orig_bg;
struct tty_display_info *tty = FRAME_TTY (f);