-const char w32log_rcs[] = "$Id: w32log.c,v 1.50 2016/07/23 17:23:43 ler762 Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/w32log.c,v $
*
* Purpose : Functions for creating and destroying the log window,
- * ouputting strings, processing messages and so on.
+ * outputting strings, processing messages and so on.
*
* Copyright : Written by and Copyright (C) 2001-2009 members of
- * the Privoxy team. http://www.privoxy.org/
+ * the Privoxy team. https://www.privoxy.org/
*
* Written by and Copyright (C) 1999 Adam Lock
* <locka@iol.ie>
#ifndef STRICT
#define STRICT
#endif
-#include <winsock2.h> /* i686-w64-mingw32-gcc compiler warning if winsock2.h is included after windows.h */
+#include <winsock2.h>
#include <windows.h>
#include <richedit.h>
#include "errlog.h"
#include "loadcfg.h"
-const char w32res_h_rcs[] = W32RES_H_VERSION;
-
-const char w32log_h_rcs[] = W32LOG_H_VERSION;
-
#ifndef _WIN_CONSOLE /* entire file */
/*
void LogCreatePatternMatchingBuffers(void)
{
int i;
+#ifdef HAVE_PCRE2
+#warning The win32 build of Privoxy is expected to crash when compiled with pcre2 support.
+#endif
for (i = 0; patterns_to_highlight[i].str != NULL; i++)
{
regcomp(&patterns_to_highlight[i].buffer, patterns_to_highlight[i].str, REG_ICASE);
case WM_SHOWWINDOW:
g_bShowLogWindow = wParam;
- case WM_SIZE:
+ case WM_SIZE: /* note: implicit-fallthrough */
/* Resize the logging window to fit the new frame */
if (g_hwndLogBox)
{