mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 15:32:59 +00:00
Don't try to parse empty lines.
This commit is contained in:
parent
be18db52e7
commit
4db766926f
@ -267,6 +267,9 @@ static char *strip_comment(char *str)
|
||||
|
||||
static bool parse_line(config_file_t *conf, struct config_entry_list *list, char *line)
|
||||
{
|
||||
if (!*line)
|
||||
return false;
|
||||
|
||||
char *comment = strip_comment(line);
|
||||
|
||||
// Starting line with # and include includes config files. :)
|
||||
|
Loading…
x
Reference in New Issue
Block a user