Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Check if character is not a newline character
[xestiacalendar/.git] / source / common / text.cpp
index d66c3b1..8962edc 100644 (file)
@@ -320,7 +320,9 @@ string OutputText(string *TextInput){
                
                if (LineSeek == MaxLineSeek){
 
-                       OutputLine += TextInput->substr(CharSeek, 1);                   
+                       if (TextInput->substr(CharSeek, 1) != "\n"){
+                               OutputLine += TextInput->substr(CharSeek, 1);
+                       }
                        OutputLine += "\n";
                        OutputTextData += OutputLine;
                        OutputLine = " ";
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy