mirror of
https://github.com/vale981/spectrwm
synced 2025-03-05 18:01:37 -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 ((line = fparseln(config, &len, &lineno, NULL, 0)) == NULL)
|
||||||
if (feof(config))
|
if (feof(config))
|
||||||
break;
|
break;
|
||||||
|
|
||||||
cp = line;
|
cp = line;
|
||||||
cp += (long)strspn(cp, SWM_CONF_WS);
|
cp += (long)strspn(cp, SWM_CONF_WS);
|
||||||
if (cp[0] == '\0') {
|
if (cp[0] == '\0') {
|
||||||
|
@ -193,10 +192,8 @@ conf_load(char *filename)
|
||||||
free(line);
|
free(line);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((var = strsep(&cp, SWM_CONF_WS)) == NULL || cp == NULL)
|
if ((var = strsep(&cp, SWM_CONF_WS)) == NULL || cp == NULL)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
cp += (long)strspn(cp, SWM_CONF_WS);
|
cp += (long)strspn(cp, SWM_CONF_WS);
|
||||||
if ((val = strsep(&cp, SWM_CONF_WS)) == NULL)
|
if ((val = strsep(&cp, SWM_CONF_WS)) == NULL)
|
||||||
break;
|
break;
|
||||||
|
@ -238,7 +235,6 @@ conf_load(char *filename)
|
||||||
default:
|
default:
|
||||||
goto bad;
|
goto bad;
|
||||||
}
|
}
|
||||||
|
|
||||||
free(line);
|
free(line);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue