Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiacalendar
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3679a24
)
Check if character is not a newline character
author
Steve Brokenshire
<sbrokenshire@xestia.co.uk>
Tue, 31 May 2016 23:05:50 +0000
(
00:05
+0100)
committer
Steve Brokenshire
<sbrokenshire@xestia.co.uk>
Tue, 31 May 2016 23:05:50 +0000
(
00:05
+0100)
source/common/text.cpp
patch
|
blob
|
history
diff --git
a/source/common/text.cpp
b/source/common/text.cpp
index
d66c3b1
..
8962edc
100644
(file)
--- a/
source/common/text.cpp
+++ b/
source/common/text.cpp
@@
-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 = " ";
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy