mirror of
https://github.com/vale981/spectrwm
synced 2025-03-05 09:51:38 -05:00
Spacing
This commit is contained in:
parent
b05bba3a0e
commit
ee49baae87
1 changed files with 3 additions and 7 deletions
|
@ -185,7 +185,6 @@ conf_load(char *filename)
|
|||
if ((line = fparseln(config, &len, &lineno, NULL, 0)) == NULL)
|
||||
if (feof(config))
|
||||
break;
|
||||
|
||||
cp = line;
|
||||
cp += (long)strspn(cp, SWM_CONF_WS);
|
||||
if (cp[0] == '\0') {
|
||||
|
@ -193,10 +192,8 @@ conf_load(char *filename)
|
|||
free(line);
|
||||
continue;
|
||||
}
|
||||
|
||||
if ((var = strsep(&cp, SWM_CONF_WS)) == NULL || cp == NULL)
|
||||
break;
|
||||
|
||||
cp += (long)strspn(cp, SWM_CONF_WS);
|
||||
if ((val = strsep(&cp, SWM_CONF_WS)) == NULL)
|
||||
break;
|
||||
|
@ -238,7 +235,6 @@ conf_load(char *filename)
|
|||
default:
|
||||
goto bad;
|
||||
}
|
||||
|
||||
free(line);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue