From 7fa7a969f4a78792ecfe2c395c02b1d119c1bc48 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jonathan=20Neusch=C3=A4fer?= Date: Fri, 26 Aug 2011 00:34:06 +0200 Subject: [PATCH] conf.c: unbreak two short lines, remove parentheses --- src/conf.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/conf.c b/src/conf.c index 6c93e1e..0403559 100644 --- a/src/conf.c +++ b/src/conf.c @@ -377,10 +377,8 @@ parse_line(char *line) bool match_found; /* get the name part */ - while (i < len && line[i] != '=' && - !g_ascii_isspace(line[i])) { + while (i < len && line[i] != '=' && !g_ascii_isspace(line[i])) name[j++] = line[i++]; - } name[j] = '\0'; @@ -535,8 +533,7 @@ parse_line(char *line) match_found = false; if (!match_found) - print_error(_("Unknown configuration parameter"), - name); + print_error(_("Unknown configuration parameter"), name); return match_found; } -- 2.30.2