style: More compliance

This commit is contained in:
jdiez17 2015-08-09 20:41:54 +02:00
parent c688ff704d
commit 69edcb88ea

View file

@ -38,7 +38,7 @@ void sway_log(int verbosity, char* format, ...) {
c = sizeof(verbosity_colors) / sizeof(char *) - 1; c = sizeof(verbosity_colors) / sizeof(char *) - 1;
} }
if(colored) { if (colored) {
fprintf(stderr, verbosity_colors[c]); fprintf(stderr, verbosity_colors[c]);
} }
@ -47,7 +47,7 @@ void sway_log(int verbosity, char* format, ...) {
vfprintf(stderr, format, args); vfprintf(stderr, format, args);
va_end(args); va_end(args);
if(colored) { if (colored) {
fprintf(stderr, "\x1B[0m\n"); fprintf(stderr, "\x1B[0m\n");
} }
} }