From 242a2ea843b270f4bba786842f44e7e7b929fc27 Mon Sep 17 00:00:00 2001 From: Martin Lund Date: Sat, 4 May 2024 13:16:28 +0200 Subject: [PATCH] Fix line ending in --list output --- src/configfile.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/configfile.c b/src/configfile.c index 7e63ca2..3390b34 100644 --- a/src/configfile.c +++ b/src/configfile.c @@ -653,7 +653,10 @@ void config_list_targets(void) putchar('\n'); } } - putchar('\n'); + if ((j-1) % 4 != 0) + { + putchar('\n'); + } g_strfreev(group); g_key_file_free(keyfile);