Skip to content

Commit

Permalink
Unix|Fixed: "~" in path was sometimes left untranslated
Browse files Browse the repository at this point in the history
For instance, with the -iwad option.
  • Loading branch information
skyjake committed Mar 12, 2012
1 parent e19aa49 commit 4b726a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doomsday/engine/portable/src/sys_direc.c
Expand Up @@ -132,6 +132,9 @@ static void setPathFromPathDir(directory_t* dir, const char* path)
assert(dir && path && path[0]);

resolveAppRelativeDirectives(transPath, path, FILENAME_T_MAXLEN);
#ifdef UNIX
resolveHomeRelativeDirectives(transPath, FILENAME_T_MAXLEN);
#endif
Dir_ToNativeSeparators(transPath, FILENAME_T_MAXLEN);

_fullpath(temp, transPath, FILENAME_T_MAXLEN);
Expand Down

0 comments on commit 4b726a0

Please sign in to comment.