From a7accb0bf548c57fcc96497d2f3a12f52b54d944 Mon Sep 17 00:00:00 2001 From: Tobi-D7 Date: Mon, 11 Apr 2022 09:59:25 +0200 Subject: [PATCH] ...? --- renderd7.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderd7.cpp b/renderd7.cpp index e40dc31..ef5736a 100644 --- a/renderd7.cpp +++ b/renderd7.cpp @@ -553,7 +553,7 @@ Result RenderD7::Init::Main(std::string app_name) { cfgfile = std::make_unique(cfgpath + "/config.ini"); cfgfile->read(cfgstruct); - int version = (int)RenderD7::Convert::StringtoFloat(cfgstruct["info"]["version"]); + std::string version = cfgstruct["info"]["version"]; if (version != CFGVER) renew = true; } if (!FS::FileExist(cfgpath + "/config.ini") || renew)