]> git.tdb.fi Git - libs/core.git/blobdiff - source/core/main.cpp
Drop copyright and license notices from source files
[libs/core.git] / source / core / main.cpp
index 4b187c3ed244b35491658ee66ee14aeb08419cc0..84e0f4292e0b644b1afec1f6d740f97407529314 100644 (file)
@@ -1,8 +1,3 @@
-/*
-This file is part of libmspframework
-Copyright © 2006 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
 #ifdef WIN32
 #include <windows.h>
 #endif
@@ -10,11 +5,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);
+       LPWSTR *argv = CommandLineToArgvW(GetCommandLineW(), &argc);
+       return Msp::Application::run(argc, (char **)argv, hInstance);
 }
 #endif