From 2080a5342078ff721310103463b479707c7ee11b Mon Sep 17 00:00:00 2001 From: Antti K Date: Tue, 29 Jul 2014 16:18:46 +0200 Subject: Operator spacing --- xkbcat.c | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/xkbcat.c b/xkbcat.c index b4cc710..79c3be0 100644 --- a/xkbcat.c +++ b/xkbcat.c @@ -24,13 +24,13 @@ #define DEFAULT_DISPLAY ":0" #define DEFAULT_DELAY 10000 -#define BIT(c, x) ( c[x/8]&(1<<(x%8)) ) +#define BIT(c, x) ( c[x/8]& (1<<(x%8)) ) #define TRUE 1 #define FALSE 0 -#define KEYSYM_STRLEN 64 +#define KEYSYM_STRLEN 64 -/* Global variables */ +/* Globals */ Display *disp; int printKeyUps = FALSE; @@ -46,48 +46,48 @@ int usage() { } int main(int argc, char *argv[]) { - char *hostname=DEFAULT_DISPLAY, + char *hostname = DEFAULT_DISPLAY, *char_ptr, - buf1[32], buf2[32], + buf1[32], buf2[32], *keys, *saved; - int i, delay=DEFAULT_DELAY; + int i, delay = DEFAULT_DELAY; /* get args */ for (i=1; i