Apparently, ShellExecute is ShellExecuteA on mingw, and not ShellExecuteW.

Forcing it to ShellExecuteW.
refs ticket:2875
master
vexed 2011-09-04 16:46:44 -04:00
parent f984be964b
commit 367c3ba823
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ static void runHyperlink(void)
//FIXME: There is no decent way we can re-init the display to switch to window or fullscreen within game. refs: screenToggleMode().
#if defined(WZ_OS_WIN)
ShellExecute(NULL, L"open", L"http://wz2100.net/", NULL, NULL, SW_SHOWNORMAL);
ShellExecuteW(NULL, L"open", L"http://wz2100.net/", NULL, NULL, SW_SHOWNORMAL);
#elif defined (WZ_OS_MAC)
// For the macs
system("open http://wz2100.net");