diff options
author | Eli Zaretskii <eliz@gnu.org> | 2013-04-15 10:27:56 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2013-04-15 10:27:56 +0300 |
commit | fd16b54c7242d59f78b4cf150432314f0bb5f583 (patch) | |
tree | 1272660cfceca67c9adbeb0e615765beb455a2ac /src/frame.h | |
parent | 35c5bbbad00618df4d4d738bbd6b6ea9023922eb (diff) |
More debugging code to investigate bug #14062.
src/w32fns.c (w32_wnd_proc): Add more assertions to investigate
bug#14062.
src/frame.h (WINDOW_FRAME): Protect macro and its argument with
parentheses.
src/dispextern.h (CURRENT_MODE_LINE_HEIGHT)
(CURRENT_HEADER_LINE_HEIGHT, WINDOW_WANTS_MODELINE_P)
(WINDOW_WANTS_HEADER_LINE_P): Protect macro arguments with
parentheses where appropriate.
Diffstat (limited to 'src/frame.h')
-rw-r--r-- | src/frame.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frame.h b/src/frame.h index b69f19b7ef..fc0a1dc828 100644 --- a/src/frame.h +++ b/src/frame.h @@ -598,7 +598,7 @@ typedef struct frame *FRAME_PTR; #define XSETFRAME(a, b) (XSETPSEUDOVECTOR (a, b, PVEC_FRAME)) /* Given a window, return its frame as a Lisp_Object. */ -#define WINDOW_FRAME(w) w->frame +#define WINDOW_FRAME(w) ((w)->frame) /* Test a frame for particular kinds of display methods. */ #define FRAME_INITIAL_P(f) ((f)->output_method == output_initial) |