Merge upstream branch 1.8
This commit is contained in:
@@ -180,7 +180,8 @@ static int ParseIntList(const char *p, int *items, int maxitems)
|
||||
/* Do not accept multiple commas between numbers */
|
||||
if (!comma) return -1;
|
||||
comma = false;
|
||||
/* FALL THROUGH */
|
||||
FALLTHROUGH;
|
||||
|
||||
case ' ':
|
||||
p++;
|
||||
break;
|
||||
@@ -1700,7 +1701,7 @@ static void HandleSettingDescs(IniFile *ini, SettingDescProc *proc, SettingDescP
|
||||
static IniFile *IniLoadConfig()
|
||||
{
|
||||
IniFile *ini = new IniFile(_list_group_names);
|
||||
ini->LoadFromDisk(_config_file, BASE_DIR);
|
||||
ini->LoadFromDisk(_config_file, NO_DIRECTORY);
|
||||
return ini;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user