[Scummvm-cvs-logs] SF.net SVN: scummvm: [21710] scummvm/trunk/backends/sdl/sdl.cpp
kirben at users.sourceforge.net
kirben at users.sourceforge.net
Sat Apr 8 19:08:05 CEST 2006
Revision: 21710
Author: kirben
Date: 2006-04-08 18:59:47 -0700 (Sat, 08 Apr 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=21710&view=rev
Log Message:
-----------
Add SDL_SetModuleHandle to WinMain
Modified Paths:
--------------
scummvm/trunk/backends/sdl/sdl.cpp
Modified: scummvm/trunk/backends/sdl/sdl.cpp
===================================================================
--- scummvm/trunk/backends/sdl/sdl.cpp 2006-04-09 00:57:41 UTC (rev 21709)
+++ scummvm/trunk/backends/sdl/sdl.cpp 2006-04-09 01:59:47 UTC (rev 21710)
@@ -37,7 +37,8 @@
#if defined (WIN32)
int WinMain(HINSTANCE /*hInst*/, HINSTANCE /*hPrevInst*/, LPSTR /*lpCmdLine*/, int /*iShowCmd*/) {
- return main(__argc, __argv);
+ SDL_SetModuleHandle(GetModuleHandle(NULL));
+ return main(__argc, __argv);
}
#endif
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list