set the _text

This commit is contained in:
Dana Jansens 2003-02-10 01:39:45 +00:00
parent ebdfbdabbe
commit c26e5ea751

View file

@ -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;