From 5c6b54dded4a4bcfb7248e80fe5311ca4c4d0eef Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Thu, 3 Oct 2013 20:11:57 +0200 Subject: [PATCH] Don't remove whitespace from lines in config file. g_strstrip() removes leading and trailing whitespace from the lines in the config file. This behaviour is not desiderable for lines that use the input command. Thanks Leonardo Taccari for this patch. --- src/main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main.c b/src/main.c index 24d1863..e610f3d 100644 --- a/src/main.c +++ b/src/main.c @@ -792,7 +792,6 @@ static void read_config(void) int length = g_strv_length(lines) - 1; for (int i = 0; i < length; i++) { line = lines[i]; - g_strstrip(line); if (!g_ascii_isalpha(line[0])) { continue; -- 2.20.1