Fix missing * in option_parser.c
This commit is contained in:
parent
17e2929ee7
commit
656846900a
@ -262,12 +262,10 @@ int load_ini_file(FILE * fp)
|
|||||||
printf("Missing '\"'\n");
|
printf("Missing '\"'\n");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
closing_quote = '\0';
|
|
||||||
} else {
|
} else {
|
||||||
char *comment = strpbrk(value, "#;");
|
char *comment = strpbrk(value, "#;");
|
||||||
if (comment)
|
if (comment)
|
||||||
comment = '\0';
|
*comment = '\0';
|
||||||
}
|
}
|
||||||
value = g_strstrip(value);
|
value = g_strstrip(value);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user