Skip to content

Commit

Permalink
Win32|Fixed: -stdbasedir did not work as expected
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Feb 24, 2012
1 parent e239772 commit 7182fe0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doomsday/engine/win32/src/dd_winit.c
Expand Up @@ -396,8 +396,8 @@ static void determineGlobalPaths(application_t* app)
}
else if(ArgCheck("-stdbasedir"))
{
// The standard base directory is two levels upwards.
strncpy(ddBasePath, "../../", FILENAME_T_MAXLEN);
// The standard base directory is one level up from the bin dir.
dd_snprintf(ddBasePath, FILENAME_T_MAXLEN, "%s../", ddBinPath);
}
Dir_CleanPath(ddBasePath, FILENAME_T_MAXLEN);
Dir_MakeAbsolutePath(ddBasePath, FILENAME_T_MAXLEN);
Expand Down

0 comments on commit 7182fe0

Please sign in to comment.