mirror of
https://github.com/labwc/labwc.git
synced 2025-11-05 13:29:58 -05:00
Improve log messages for reading config+theme
This commit is contained in:
parent
35015e57c6
commit
4a89fbfb22
4 changed files with 26 additions and 18 deletions
|
|
@ -103,8 +103,7 @@ char *find_dir(struct ctx *ctx)
|
|||
}
|
||||
}
|
||||
/* no directory was found */
|
||||
ctx->buf[0] = '.';
|
||||
ctx->buf[1] = '\0';
|
||||
ctx->buf[0] = '\0';
|
||||
return ctx->buf;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ void warn(const char *err, ...)
|
|||
{
|
||||
va_list params;
|
||||
fprintf(stderr, LABWC_COLOR_RED);
|
||||
fprintf(stderr, "[labwc] warning: ");
|
||||
fprintf(stderr, "[labwc] ");
|
||||
va_start(params, err);
|
||||
vfprintf(stderr, err, params);
|
||||
va_end(params);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue