Skip to content

Commit

Permalink
[FIX] : fix the settings load error when no settings
Browse files Browse the repository at this point in the history
  • Loading branch information
aiekick committed Jun 20, 2024
1 parent 5dd8141 commit 135acc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ConfigAbstract.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ tinyxml2::XMLError ConfigAbstract::parseConfigDatas(std::string vDatas, const st

if (res == tinyxml2::XMLError::XML_SUCCESS) {
RecursParsingConfig(doc.FirstChildElement(vFirstElement.c_str()), 0, vUserDatas);
} else {
} else if (!vDatas.empty()) {
doc.PrintError();
}
} catch (std::exception& ex) {
Expand Down

0 comments on commit 135acc2

Please sign in to comment.