move absolutePath to MiscFunctions

This commit is contained in:
FlafyDev
2022-08-19 23:18:09 +03:00
parent 69d17bf424
commit f0ad77251b
5 changed files with 28 additions and 28 deletions

View File

@@ -568,7 +568,7 @@ void CInputManager::applyConfigToKeyboard(SKeyboard* pKeyboard) {
xkb_keymap * KEYMAP = NULL;
if (!FILEPATH.empty()) {
auto path = g_pConfigManager->absolutePath(FILEPATH);
auto path = absolutePath(FILEPATH, g_pConfigManager->configCurrentPath);
if (!std::filesystem::exists(path)) {
Debug::log(ERR, "input:kb_file= file doesnt exist");