X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fcore%2Fmain.cpp;h=5cf18c3a81222412d8bf61ae8ed724e7b2ff4062;hp=9fdaba297c7ed8ef7c74b5e22e5d1c9eb289669c;hb=516755dde30a4820495580d1b52a5b992f800461;hpb=4276e9a4f973949abf5b0fc3b83c0c93ace90a86 diff --git a/source/core/main.cpp b/source/core/main.cpp index 9fdaba2..5cf18c3 100644 --- a/source/core/main.cpp +++ b/source/core/main.cpp @@ -11,11 +11,11 @@ Distributed under the LGPL #include "application.h" #ifdef WIN32 -int APIENTRY WinMain(HINSTANCE /*hInstance*/, HINSTANCE /*hPrevInstance*/, LPSTR /*lpCmdLine*/, int /*nCmdShow*/) +int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE /*hPrevInstance*/, LPSTR /*lpCmdLine*/, int /*nCmdShow*/) { int argc = 0; LPWSTR *argv=CommandLineToArgvW(GetCommandLineW(), &argc); - return Msp::Application::run(argc, (char **)argv); + return Msp::Application::run(argc, (char **)argv, hInstance); } #endif