Skip to content

Commit

Permalink
Use getcwd instead of _getcwd
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-abram committed Apr 2, 2018
1 parent c8633ed commit d67d984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RageUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1122,7 +1122,7 @@ bool GetCommandlineArgument( const RString &option, RString *argument, int iInde
RString GetCwd()
{
char buf[PATH_MAX];
bool ret = _getcwd(buf, PATH_MAX) != NULL;
bool ret = getcwd(buf, PATH_MAX) != NULL;
ASSERT(ret);
return buf;
}
Expand Down

0 comments on commit d67d984

Please sign in to comment.