- fixed some startup errors.

This commit is contained in:
Christoph Oelckers 2019-11-02 13:27:40 +01:00
parent 8fb54b51c3
commit 906e56a2b1
2 changed files with 3 additions and 3 deletions

View file

@ -391,11 +391,11 @@ int CONFIG_Init()
std::error_code err;
if (std::filesystem::equivalent(gpath, fpath, err))
{
groupno = g;
break;
}
g++;
}
groupno = g;
}
if (groupno == -1 || userConfig.setupstate == 1)
groupno = ShowStartupWindow(groups);
@ -408,7 +408,7 @@ int CONFIG_Init()
usedgroups.Push(group);
auto crc = group.FileInfo.dependencyCRC;
for (auto& dep : groups)
if (crc != 0) for (auto& dep : groups)
{
if (dep.FileInfo.CRC == crc)
{

View file

@ -6086,7 +6086,7 @@ void C_Compile(const char *fileName)
if (!kFile.isOpen())
{
I_Error(tempbuf,"CON file `%s' missing.", fileName);
I_Error("CON file `%s' missing.", fileName);
}
int const kFileLen = kFile.GetLength();