XDG_DATA_DIR should be XDG_DATA_HOME
This commit is contained in:
parent
df1775cbf5
commit
63ccee588b
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ static void SetUserDataPath(char* data_path) {
|
|||
return;
|
||||
}
|
||||
}
|
||||
char *dataDir = getenv("XDG_DATA_DIR");
|
||||
char *dataDir = getenv("XDG_DATA_HOME");
|
||||
if (dataDir) {
|
||||
strcpy(data_path, dataDir);
|
||||
strcat(data_path, "/stratagus/");
|
||||
|
|
Loading…
Reference in a new issue