diff options
Diffstat (limited to 'xdpyinfo.c')
-rw-r--r-- | xdpyinfo.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -578,8 +578,7 @@ print_event_mask(char *buf, /* string to write into */ buf[0] = buf[lastcol] = '\0'; /* just in case */ -#define INDENT() { len = indent; \ - for (int i = 0; i < indent; i++) buf[i] = ' '; } +#define INDENT() do { len = indent; memset(buf, ' ', indent); } while (0) INDENT (); |