add missing slash when XDG_DATA_HOME is set

This commit is contained in:
Samuel 2025-07-06 17:26:48 -04:00 committed by Pancake
parent 92c7f98a12
commit 42ff9d7fd0

View file

@ -32,7 +32,7 @@ void LSFG::initialize() {
const char* dataDir = getenv("XDG_DATA_HOME");
if (dataDir && *dataDir != '\0') {
dllPathStr = std::string(dataDir) +
"Steam/steamapps/common/Lossless Scaling/Lossless.dll";
"/Steam/steamapps/common/Lossless Scaling/Lossless.dll";
} else {
const char* homeDir = getenv("HOME");
if (homeDir && *homeDir != '\0') {