mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-11-04 18:29:41 +01:00
Remove redundant getDirSeparator() calls in init()
PHYSFS_getDirSeparator() already gets called and stored in pathSep at the top of FILESYSTEM_init(). So clearly, two people worked on this function and forgot that both pieces of code existed at the same time (or it was one person independently forgetting both).
This commit is contained in:
parent
34ec943b5c
commit
a11920e1a9
1 changed files with 2 additions and 2 deletions
|
@ -94,7 +94,7 @@ int FILESYSTEM_init(char *argvZero, char* baseDir, char *assetsPath)
|
|||
SDL_snprintf(saveDir, sizeof(saveDir), "%s%s%s",
|
||||
output,
|
||||
"saves",
|
||||
PHYSFS_getDirSeparator()
|
||||
pathSep
|
||||
);
|
||||
printf("Save directory: %s\n", saveDir);
|
||||
|
||||
|
@ -102,7 +102,7 @@ int FILESYSTEM_init(char *argvZero, char* baseDir, char *assetsPath)
|
|||
SDL_snprintf(levelDir, sizeof(levelDir), "%s%s%s",
|
||||
output,
|
||||
"levels",
|
||||
PHYSFS_getDirSeparator()
|
||||
pathSep
|
||||
);
|
||||
printf("Level directory: %s\n", levelDir);
|
||||
|
||||
|
|
Loading…
Reference in a new issue