Fix URL opening on Windows

master
rubenwardy 2015-10-29 18:15:10 +00:00
parent 513d7fbee7
commit 75e949c153
1 changed files with 1 additions and 1 deletions

View File

@ -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