[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r14720: Use WinMain properly. (torbrowser/trunk/src/RelativeLink)



Author: ioerror
Date: 2008-05-25 01:09:57 -0400 (Sun, 25 May 2008)
New Revision: 14720

Modified:
   torbrowser/trunk/src/RelativeLink/RelativeLink.c
Log:
Use WinMain properly.


Modified: torbrowser/trunk/src/RelativeLink/RelativeLink.c
===================================================================
--- torbrowser/trunk/src/RelativeLink/RelativeLink.c	2008-05-25 05:03:35 UTC (rev 14719)
+++ torbrowser/trunk/src/RelativeLink/RelativeLink.c	2008-05-25 05:09:57 UTC (rev 14720)
@@ -21,7 +21,7 @@
 //
 
 //int _tmain( int argc, TCHAR *argv[])
-int WINAPI WinMain( NULL, NULL, NULL, SW_HIDE )
+int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
 {
     STARTUPINFO si;
     PROCESS_INFORMATION pi;