mirror of
https://github.com/swaywm/sway.git
synced 2024-12-28 07:56:31 +01:00
style: More compliance
This commit is contained in:
parent
c688ff704d
commit
69edcb88ea
1 changed files with 2 additions and 2 deletions
|
@ -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