From 0e1a8689cb263faeac0d527afc1dc4e3b2041980 Mon Sep 17 00:00:00 2001 From: qndel Date: Thu, 5 Sep 2019 20:33:05 +0200 Subject: [PATCH] PrintPlrMsg cleanup --- Source/plrmsg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/plrmsg.cpp b/Source/plrmsg.cpp index 5369377f5..09c6fe840 100644 --- a/Source/plrmsg.cpp +++ b/Source/plrmsg.cpp @@ -110,8 +110,8 @@ void PrintPlrMsg(DWORD x, DWORD y, DWORD width, const char *str, BYTE col) while (*str) { BYTE c; int screen = PitchTbl[y] + x; - const char *sstr = str; DWORD len = 0; + const char *sstr = str; const char *endstr = sstr; while (1) {