From f4580c070249a3c7523c057f49a431745ddab60b Mon Sep 17 00:00:00 2001 From: BenCat07 Date: Tue, 22 Oct 2019 19:01:00 +0200 Subject: [PATCH] Fix load from string wrongly printing that the string is a file --- src/settings/SettingsIO.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/settings/SettingsIO.cpp b/src/settings/SettingsIO.cpp index 70f4adad..7d77c3ac 100644 --- a/src/settings/SettingsIO.cpp +++ b/src/settings/SettingsIO.cpp @@ -137,8 +137,8 @@ bool settings::SettingsReader::loadFromString(std::string stream) settings::SettingsReader loader{ settings::Manager::instance() }; if (stream == "") { - logging::Info("cat_load: Can't access file!"); - g_ICvar->ConsoleColorPrintf(MENU_COLOR, "CAT: cat_load: File doesn't exist / can't open file!\n"); + logging::Info("cat_load: Empty String!"); + g_ICvar->ConsoleColorPrintf(MENU_COLOR, "CAT: cat_load: Empty String!\n"); return false; }