Skip to content

Commit

Permalink
Fixed|MSYS: Getting the current executable file path
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Feb 24, 2020
1 parent 3c0beb0 commit 1c7c51c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doomsday/libs/core/src/core/commandline.cpp
Expand Up @@ -159,7 +159,7 @@ CommandLine::CommandLine(const StringList &args) : d(new Impl(*this))
d->appendArg(args.at(i));
}
}
#if defined (DE_CYGWIN)
#if defined (DE_CYGWIN) || defined (DE_MSYS)
makeAbsolutePath(0); // convert to a Windows path
#endif
}
Expand Down Expand Up @@ -332,7 +332,7 @@ void CommandLine::makeAbsolutePath(dsize pos)
{
bool converted = false;

#if defined (DE_CYGWIN)
#if defined (DE_CYGWIN) || defined (DE_MSYS)
// Cygwin gives us UNIX-like paths on the command line, so let's convert
// to our expected Windows paths.
arg = String::take(unixToWindows_Path(arg));
Expand Down

0 comments on commit 1c7c51c

Please sign in to comment.