diff --git a/src/main.cpp b/src/main.cpp index 3d6ddef3..dad5b58d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -77,10 +77,10 @@ void saveConfigs() #ifdef WIN32_NO_CONSOLE #include -int WINAPI WinMain(HINSTANCE hThisInstance, HINSTANCE hPrevInstance, LPSTR lpszArgument,int nCmdShow) +int WINAPI WinMain(HINSTANCE hThisInstance, HINSTANCE hPrevInstance, LPSTR lpszArgument, int nCmdShow) { std::vector args; - boost::split(args, lpszArgument, boost::is_any_of(" ")); + boost::split(args, lpszArgument, boost::is_any_of(std::string(" "))); #else int main(int argc, const char *argv[]) {