Merge branch 'fix-var-tabs'
This commit is contained in:
commit
e83b191492
@ -479,6 +479,8 @@ void parse_file(const char *f) {
|
|||||||
v_value = strstr(value, "\t");
|
v_value = strstr(value, "\t");
|
||||||
|
|
||||||
*(v_value++) = '\0';
|
*(v_value++) = '\0';
|
||||||
|
while (*v_value == '\t' || *v_value == ' ')
|
||||||
|
v_value++;
|
||||||
|
|
||||||
struct Variable *new = scalloc(sizeof(struct Variable));
|
struct Variable *new = scalloc(sizeof(struct Variable));
|
||||||
new->key = sstrdup(v_key);
|
new->key = sstrdup(v_key);
|
||||||
|
Loading…
Reference in New Issue
Block a user