mirror of
https://github.com/hyprwm/hyprpaper.git
synced 2024-12-22 04:19:47 +01:00
Update ConfigManager.cpp (#30)
This commit is contained in:
parent
c68cc7b926
commit
e1b293aedf
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ CConfigManager::CConfigManager() {
|
|||
if (g_pHyprpaper->m_szExplicitConfigPath.empty()) {
|
||||
Debug::log(CRIT, "No config file provided. Default config file `~/.config/hypr/hyprpaper.conf` couldn't be opened.");
|
||||
} else {
|
||||
Debug::log(CRIT, "No config file provided. Specified file `%s` couldn't be opened.", configPath);
|
||||
Debug::log(CRIT, "No config file provided. Specified file `%s` couldn't be opened.", configPath.c_str());
|
||||
}
|
||||
exit(1);
|
||||
}
|
||||
|
@ -208,4 +208,4 @@ std::string CConfigManager::trimPath(std::string path) {
|
|||
size_t pathStartIndex = path.find_first_not_of(" \t\r\n");
|
||||
size_t pathEndIndex = path.find_last_not_of(" \t\r\n");
|
||||
return path.substr(pathStartIndex, pathEndIndex - pathStartIndex + 1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue