mirror of
https://github.com/PancakeTAS/lsfg-vk.git
synced 2025-10-30 07:01:10 +00:00
add missing slash when XDG_DATA_HOME is set
This commit is contained in:
parent
92c7f98a12
commit
42ff9d7fd0
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ void LSFG::initialize() {
|
||||||
const char* dataDir = getenv("XDG_DATA_HOME");
|
const char* dataDir = getenv("XDG_DATA_HOME");
|
||||||
if (dataDir && *dataDir != '\0') {
|
if (dataDir && *dataDir != '\0') {
|
||||||
dllPathStr = std::string(dataDir) +
|
dllPathStr = std::string(dataDir) +
|
||||||
"Steam/steamapps/common/Lossless Scaling/Lossless.dll";
|
"/Steam/steamapps/common/Lossless Scaling/Lossless.dll";
|
||||||
} else {
|
} else {
|
||||||
const char* homeDir = getenv("HOME");
|
const char* homeDir = getenv("HOME");
|
||||||
if (homeDir && *homeDir != '\0') {
|
if (homeDir && *homeDir != '\0') {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue