From: Steve Brokenshire Date: Tue, 31 May 2016 23:05:37 +0000 (+0100) Subject: Added check if OutputLine is effectively empty. X-Git-Tag: release-0.02~252 X-Git-Url: http://Server1/repobrowser/?p=xestiacalendar%2F.git;a=commitdiff_plain;h=3679a24de925348a1fc84717d94ec697aa765f0a Added check if OutputLine is effectively empty. --- 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;