This commit is contained in:
tobid7 2022-04-11 09:53:36 +02:00
parent aed653f0c8
commit c5c83a9c17

View File

@ -554,7 +554,7 @@ Result RenderD7::Init::Main(std::string app_name)
cfgfile = std::make_unique<INI::INIFile>(cfgpath + "/config.ini");
cfgfile->read(cfgstruct);
int version = (int)RenderD7::Convert::StringtoFloat(cfgstruct["info"]["version"]);
if (versuin != CFGVER) renew = true;
if (version != CFGVER) renew = true;
}
if (!FS::FileExist(cfgpath + "/config.ini") || renew)
{