From: Jonathan Neuschäfer Date: Thu, 25 Aug 2011 22:34:06 +0000 (+0200) Subject: conf.c: unbreak two short lines, remove parentheses X-Git-Tag: release-0.20~95^2~9 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7fa7a969f4a78792ecfe2c395c02b1d119c1bc48;p=ncmpc.git conf.c: unbreak two short lines, remove parentheses --- 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; }