Skip to content

Commit

Permalink
Windows: curv works when run from PowerShell
Browse files Browse the repository at this point in the history
  • Loading branch information
doug-moen committed Jul 15, 2020
1 parent 91d9e6d commit ad8b3be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcurv/progdir.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ progdir(const char *argv0)
{
fs::path cmd(argv0);
#ifdef _WIN32
cmd += ".exe";
if (!cmd.has_extension()) cmd += ".exe";
#endif

if (cmd.has_parent_path()) {
Expand Down

0 comments on commit ad8b3be

Please sign in to comment.