Code style tweak

This commit is contained in:
Simon Long 2024-01-05 12:10:58 +00:00
parent d2e891ab2e
commit 634c80490a

View file

@ -1501,9 +1501,7 @@ rcxml_read(const char *filename)
stream = fopen(rcxml, "r"); stream = fopen(rcxml, "r");
if (!stream) { if (!stream) {
wlr_log(WLR_ERROR, "cannot read (%s)", rcxml); wlr_log(WLR_ERROR, "cannot read (%s)", rcxml);
} } else {
else
{
wlr_log(WLR_INFO, "read config file %s", rcxml); wlr_log(WLR_INFO, "read config file %s", rcxml);
buf_init(&b); buf_init(&b);
while (getline(&line, &len, stream) != -1) { while (getline(&line, &len, stream) != -1) {