mirror of
https://github.com/vivier/EMILE.git
synced 2025-01-22 00:32:15 +00:00
inc to add \n
This commit is contained in:
parent
f5d73a387d
commit
b02c57eea7
@ -49,7 +49,11 @@ void config_set_indexed_property(char *configuration,
|
||||
if (last_index != -1)
|
||||
last_index = config_find_entry(configuration + last_index, index_name, NULL);
|
||||
if (last_index == -1)
|
||||
{
|
||||
last_index = strlen(configuration);
|
||||
if (last_index > 0)
|
||||
last_index++; /* to insert a '\n' */
|
||||
}
|
||||
index = last_index;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user