diff options
| author | Paul Eggert | 2013-12-14 20:20:53 -0800 |
|---|---|---|
| committer | Paul Eggert | 2013-12-14 20:20:53 -0800 |
| commit | b4dd49e0faee3ff97b544cab2ef82898310c8999 (patch) | |
| tree | f2274915eb78730bf3abe09480d313fc16f8b731 /src/dispextern.h | |
| parent | f629af5493b01170f0fc9c26d8a51c928f4ea711 (diff) | |
| download | emacs-b4dd49e0faee3ff97b544cab2ef82898310c8999.tar.gz emacs-b4dd49e0faee3ff97b544cab2ef82898310c8999.zip | |
Use bool for boolean (GLYPH_DEBUG case).
* xdisp.c (trace_redisplay_p) [GLYPH_DEBUG]:
Use bool for boolean.
* dispextern.h (IF_DEBUG): Properly parenthesize and convert to void.
Args must now be expressions; all callers changed.
Diffstat (limited to 'src/dispextern.h')
| -rw-r--r-- | src/dispextern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispextern.h b/src/dispextern.h index ded11e58dfb..d3ee2472dc6 100644 --- a/src/dispextern.h +++ b/src/dispextern.h | |||
| @@ -139,7 +139,7 @@ enum window_part | |||
| 139 | /* Macros to include code only if GLYPH_DEBUG is defined. */ | 139 | /* Macros to include code only if GLYPH_DEBUG is defined. */ |
| 140 | 140 | ||
| 141 | #ifdef GLYPH_DEBUG | 141 | #ifdef GLYPH_DEBUG |
| 142 | #define IF_DEBUG(X) (X) | 142 | #define IF_DEBUG(X) ((void) (X)) |
| 143 | #else | 143 | #else |
| 144 | #define IF_DEBUG(X) ((void) 0) | 144 | #define IF_DEBUG(X) ((void) 0) |
| 145 | #endif | 145 | #endif |