extra safety for the case of an empty platform config file

This commit is contained in:
Arisotura 2019-03-26 15:11:32 +01:00
parent 785716ac41
commit 5941d57236
1 changed files with 3 additions and 0 deletions

View File

@ -53,6 +53,7 @@ void Load()
{
if (c > 0) break;
entry = &PlatformConfigFile[0];
if (!entry->Value) break;
c++;
}
@ -87,6 +88,7 @@ void Load()
{
if (c > 0) break;
entry = &PlatformConfigFile[0];
if (!entry->Value) break;
c++;
}
@ -139,6 +141,7 @@ void Save()
{
if (c > 0) break;
entry = &PlatformConfigFile[0];
if (!entry->Value) break;
c++;
}