From 4675a9b0598597d01a63272cab7ff3e3141d33e4 Mon Sep 17 00:00:00 2001 From: toaster Date: Tue, 11 Jul 2023 18:26:03 +0100 Subject: [PATCH] Fix an issue where newlines could potentially double-up when faced with whitespace --- src/v_video.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/v_video.cpp b/src/v_video.cpp index 23bd5f8cf..e574e81fb 100644 --- a/src/v_video.cpp +++ b/src/v_video.cpp @@ -2680,6 +2680,8 @@ void V_ScaledWordWrap( for (; ( c = newstring[i] ); ++i) { + right = 0; + switch (c) { case '\n':