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

Commit 75e949c

Browse files
committed
Fix URL opening on Windows
1 parent 513d7fb commit 75e949c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MenuState.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include <string>
1212

1313
#if _WIN32
14-
#define OPEN_URL(url) system((std::string("open \"") + std::string(url) + "\"").c_str())
14+
#define OPEN_URL(url) system((std::string("start \"\" \"") + std::string(url) + "\"").c_str())
1515
#else
1616
#define OPEN_URL(url) system((std::string("xdg-open \"") + std::string(url) + "\"").c_str())
1717
#endif

0 commit comments

Comments
 (0)