Code

conf.c: unbreak two short lines, remove parentheses
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Thu, 25 Aug 2011 22:34:06 +0000 (00:34 +0200)
committerJonathan Neuschäfer <j.neuschaefer@gmx.net>
Mon, 29 Aug 2011 20:29:56 +0000 (22:29 +0200)
src/conf.c

index 6c93e1e3a8692c53b0e17c7d13d4f7a5d816d81b..0403559cfe5fe34fc1098ced0d371ab18c6e31a2 100644 (file)
@@ -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;
 }