From 75e949c15384a769bf09469b0446f5b8abe45d58 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Thu, 29 Oct 2015 18:15:10 +0000 Subject: [PATCH] Fix URL opening on Windows --- src/MenuState.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MenuState.cpp b/src/MenuState.cpp index 6e54901..7c0d910 100644 --- a/src/MenuState.cpp +++ b/src/MenuState.cpp @@ -11,7 +11,7 @@ #include #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