Improve log messages for reading config+theme

This commit is contained in:
Johan Malm 2020-09-14 18:17:36 +01:00
parent 35015e57c6
commit 4a89fbfb22
4 changed files with 26 additions and 18 deletions

View file

@ -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;
}