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");
|
||||
continue;
|
||||
}
|
||||
|
||||
closing_quote = '\0';
|
||||
} else {
|
||||
char *comment = strpbrk(value, "#;");
|
||||
if (comment)
|
||||
comment = '\0';
|
||||
*comment = '\0';
|
||||
}
|
||||
value = g_strstrip(value);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user