X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=win32.c;h=370d2b34481c35b5a11f6d6b57e548331178f958;hp=92c69a4e70afabec9c68dd7b4c3a3e839493e013;hb=d65b7df9b986c4de1014b6b1b237d678e7b59fa8;hpb=292da21cea2a42b0896d667cff7201ef0ea2894e diff --git a/win32.c b/win32.c index 92c69a4e..370d2b34 100644 --- a/win32.c +++ b/win32.c @@ -1,4 +1,3 @@ -const char win32_rcs[] = "$Id: win32.c,v 1.18 2011/09/04 11:10:56 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/win32.c,v $ @@ -60,8 +59,6 @@ const char win32_rcs[] = "$Id: win32.c,v 1.18 2011/09/04 11:10:56 fabiankeil Exp #include "win32.h" -const char win32_h_rcs[] = WIN32_H_VERSION; - /** * A short introductory text about Privoxy. Used for the "About" box * or the console startup message. @@ -204,7 +201,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine g_nCmdShow = nCmdShow; _beginthread(UserInterfaceThread, 0, &hInitCompleteEvent); WaitForSingleObject(hInitCompleteEvent, INFINITE); - DeleteObject(hInitCompleteEvent); + CloseHandle(hInitCompleteEvent); #endif #ifdef __MINGW32__