Commit b10053fa authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Should be section:name:value when saving not section:name: value

Gave an extra space at front when recovering a default for the second time
parent 7cbf85bd
......@@ -570,7 +570,7 @@ static void parse_section_param(char *line, int *isFirstParam,
static void save_param_##PREFIX(struct swift_params *params, \
const char *name, TYPE value) { \
char str[PARSER_MAX_LINE_SIZE]; \
sprintf(str, "%s: " FMT, name, value); \
sprintf(str, "%s:" FMT, name, value); \
parser_set_param(params, str); \
params->data[params->paramCount - 1].used = 1; \
params->data[params->paramCount - 1].is_default = 0; \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment