X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=win32.c;h=201d8da54ae527c7c15622e37fc7cd229c4087aa;hp=92c69a4e70afabec9c68dd7b4c3a3e839493e013;hb=9fa97414f922969c4dde4a799b0a938fe8f24edc;hpb=292da21cea2a42b0896d667cff7201ef0ea2894e diff --git a/win32.c b/win32.c index 92c69a4e..201d8da5 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 $ @@ -6,7 +5,7 @@ const char win32_rcs[] = "$Id: win32.c,v 1.18 2011/09/04 11:10:56 fabiankeil Exp * Purpose : Win32 User Interface initialization and message loop * * Copyright : Written by and Copyright (C) 2001-2002 members of - * the Privoxy team. http://www.privoxy.org/ + * the Privoxy team. https://www.privoxy.org/ * * Written by and Copyright (C) 1999 Adam Lock * @@ -60,15 +59,13 @@ 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. */ const char win32_blurb[] = "Privoxy version " VERSION " for Windows\n" -"Copyright (C) 2000-2010 the Privoxy Team (" HOME_PAGE_URL ")\n" +"Copyright (C) 2000-2019 the Privoxy Team (" HOME_PAGE_URL ")\n" "Based on the Internet Junkbuster by Junkbusters Corp.\n" "This is free software; it may be used and copied under the\n" "GNU General Public License, version 2: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html\n" @@ -166,7 +163,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine #if 0 /* * Cheat in parsing the command line. We only ever have at most one - * paramater, which may optionally be specified inside double quotes. + * parameter, which may optionally be specified inside double quotes. */ if (lpCmdLine != NULL) @@ -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__