mirror of
https://github.com/swaywm/sway.git
synced 2024-11-29 03:11:27 +00:00
style: More compliance
This commit is contained in:
parent
c688ff704d
commit
69edcb88ea
|
@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue