mirror of
https://github.com/hyprwm/hyprlang.git
synced 2024-11-17 02:25:59 +01:00
Tests: fix for API change
This commit is contained in:
parent
ff30ccf3cb
commit
380453d389
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ static Hyprlang::CParseResult handleFlagsTest(const char* COMMAND, const char* V
|
||||||
|
|
||||||
static Hyprlang::CParseResult handleSource(const char* COMMAND, const char* VALUE) {
|
static Hyprlang::CParseResult handleSource(const char* COMMAND, const char* VALUE) {
|
||||||
std::string PATH = std::filesystem::canonical(currentPath + "/" + 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) {
|
static Hyprlang::CParseResult handleCustomValueSet(const char* VALUE, void** data) {
|
||||||
|
|
Loading…
Reference in a new issue