Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2009-01-28 21:01:11 +0000
committerStijn Buys <ingar@osirion.org>2009-01-28 21:01:11 +0000
commitb32ad8cea04c3f9387fc7401d93a836c35c5ae8c (patch)
treeb4977a2d5152899274ec6a238fc375215d67a25c /src/ui
parent739f9dcb70d837697b6905e8256ba579a40d86fe (diff)
reset pen color on \n
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/scrollpane.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/scrollpane.cc b/src/ui/scrollpane.cc
index b4d08d6..d660663 100644
--- a/src/ui/scrollpane.cc
+++ b/src/ui/scrollpane.cc
@@ -124,6 +124,8 @@ void ScrollPane::draw()
lines.push_back(line);
line.clear();
line_length = 0;
+ pen = 'N';
+ wordpen = 'N';
// new word
} else if (*c == ' ' ) {
line += ' ';