From 592e5967b8fcd79423802071319d0c646f2080df Mon Sep 17 00:00:00 2001 From: Dave Hibberd Date: Tue, 29 Sep 2026 21:39:24 +0100 Subject: New upstream version 6.0.25.41+repack --- WinmorControl.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'WinmorControl.c') diff --git a/WinmorControl.c b/WinmorControl.c index da24ff6..369d276 100644 --- a/WinmorControl.c +++ b/WinmorControl.c @@ -36,6 +36,7 @@ #include #include #include +#include "bpq32.h" #define BPQICON 400 @@ -70,17 +71,6 @@ int addrlen = sizeof(struct sockaddr_in); BOOL MinimizetoTray=FALSE; -VOID __cdecl Debugprintf(const char * format, ...) -{ - char Mess[10000]; - va_list(arglist); - va_start(arglist, format); - vsprintf(Mess, format, arglist); - strcat(Mess, "\r\n"); - OutputDebugString(Mess); - - return; -} char * strlop(char * buf, char delim) { @@ -527,7 +517,7 @@ HANDLE OpenCOMPort(char * pPort, int speed, BOOL SetDTR, BOOL SetRTS, BOOL Quiet else { sprintf(buf,"%s Setup Failed %d ", pPort, GetLastError()); - OutputDebugString(buf); + Debugprintf(buf); CloseHandle(fd); return 0; } -- cgit v1.2.3