summaryrefslogtreecommitdiff
path: root/otk
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-10 01:39:45 +0000
committerDana Jansens <danakj@orodu.net>2003-02-10 01:39:45 +0000
commitc26e5ea7519b02d7b83261faefeec657bb65c4a4 (patch)
treeefd58088f87f7f352ebec2ce597d7115b8fb4c4b /otk
parentebdfbdabbe503ea479525c2a0148ce50f7003b55 (diff)
set the _text
Diffstat (limited to 'otk')
-rw-r--r--otk/label.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/otk/label.cc b/otk/label.cc
index 751fff34..43d06f77 100644
--- a/otk/label.cc
+++ b/otk/label.cc
@@ -49,6 +49,7 @@ void Label::setText(const ustring &text)
std::string s = text.c_str(); // use a normal string, for its functionality
_parsedtext.clear();
+ _text = text;
// parse it into multiple lines
std::string::size_type p = 0;