diff --git a/src/libloader/includes/config.hpp b/src/libloader/includes/config.hpp index 1852049..acb55f7 100644 --- a/src/libloader/includes/config.hpp +++ b/src/libloader/includes/config.hpp @@ -100,7 +100,7 @@ public: std::string s = val->as(); if (use_default_if_empty && s.empty()) return default_value; // Check if string starts with '.' - if (is_path && .starts_with('.')) { + if (is_path && s.starts_with('.')) { // remove '.' s.erase(0, 1);