aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui.cpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2016-01-08 08:47:04 -0500
committerClyne Sullivan <tullivan99@gmail.com>2016-01-08 08:47:04 -0500
commitcde980d06325f37d70c1354d1d3b5cc1f3736938 (patch)
tree857f81fe41e57ab6b77d540f8317642dd6cec81f /src/ui.cpp
parent0c89c034ffe5fdf79e57c8bdbe9ca07eaf79b382 (diff)
xml improvements
Diffstat (limited to 'src/ui.cpp')
-rw-r--r--src/ui.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui.cpp b/src/ui.cpp
index cf5e31e..ead9d8c 100644
--- a/src/ui.cpp
+++ b/src/ui.cpp
@@ -274,10 +274,11 @@ namespace ui {
if(s[i] == ' ')
i++;
}
- if(s[i] == '\n'){
+ if(s[i] == '\n' || s[i] == '\r' || s[i] == '\t'){
+ /*if(s[i] == '\n'){
yo-=fontSize*1.05;
xo=x;
- }else if(s[i]==' '){ // Handle spaces
+ */}else if(s[i]==' '){ // Handle spaces
xo+=fontSize/2;
}else if(s[i]=='\b'){ // Handle backspaces?
xo-=add.x;