Skip to content
This repository has been archived by the owner on Dec 3, 2020. It is now read-only.

Commit

Permalink
Fix URL opening on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenwardy committed Oct 29, 2015
1 parent 513d7fb commit 75e949c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MenuState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <string>

#if _WIN32
#define OPEN_URL(url) system((std::string("open \"") + std::string(url) + "\"").c_str())
#define OPEN_URL(url) system((std::string("start \"\" \"") + std::string(url) + "\"").c_str())
#else
#define OPEN_URL(url) system((std::string("xdg-open \"") + std::string(url) + "\"").c_str())
#endif
Expand Down

0 comments on commit 75e949c

Please sign in to comment.