]> git.tdb.fi Git - libs/core.git/blobdiff - source/core/main.cpp
Assimilate exceptions and RefPtr from mspmisc
[libs/core.git] / source / core / main.cpp
index de62f75821bf11e0735b6a2d7f2264703d888782..9fdaba297c7ed8ef7c74b5e22e5d1c9eb289669c 100644 (file)
@@ -1,4 +1,5 @@
-/*
+/* $Id$
+
 This file is part of libmspcore
 Copyright © 2006 Mikko Rasa, Mikkosoft Productions
 Distributed under the LGPL
@@ -10,10 +11,10 @@ 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);
+       LPWSTR *argv=CommandLineToArgvW(GetCommandLineW(), &argc);
        return Msp::Application::run(argc, (char **)argv);
 }
 #endif