From 3679a24de925348a1fc84717d94ec697aa765f0a Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Wed, 1 Jun 2016 00:05:37 +0100 Subject: [PATCH] Added check if OutputLine is effectively empty. --- source/common/text.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/common/text.cpp b/source/common/text.cpp index 1768488..d66c3b1 100644 --- a/source/common/text.cpp +++ b/source/common/text.cpp @@ -334,7 +334,11 @@ string OutputText(string *TextInput){ } - OutputTextData += OutputLine; + if (OutputLine != " "){ + + OutputTextData += OutputLine; + + } return OutputTextData; -- 2.39.5