Tests: fix for API change

This commit is contained in:
Vaxry 2024-02-09 03:29:38 +00:00
parent ff30ccf3cb
commit 380453d389
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ static Hyprlang::CParseResult handleFlagsTest(const char* COMMAND, const char* V
static Hyprlang::CParseResult handleSource(const char* COMMAND, const char* VALUE) {
std::string PATH = std::filesystem::canonical(currentPath + "/" + VALUE);
return pConfig->parseFile(PATH);
return pConfig->parseFile(PATH.c_str());
}
static Hyprlang::CParseResult handleCustomValueSet(const char* VALUE, void** data) {