Mercurial > otakunoraifu
changeset 17:a95c130b567b
Shows name in backlog
author | thib |
---|---|
date | Tue, 12 Aug 2008 18:37:52 +0000 |
parents | 92765a5661f7 |
children | 4d7486cb20a9 |
files | scn2k/scn2k_text.cc |
diffstat | 1 files changed, 1 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/scn2k/scn2k_text.cc +++ b/scn2k/scn2k_text.cc @@ -632,14 +632,8 @@ void TextImpl::DrawBacklog(BacklogItem& item.text = text_stream; text_stream = saved_text; } - char namestr[1024]; - namestr[0] = 0; - item.text.RemoveName(namestr, 1024); - text->SetName(namestr); item.text.InsertColor(0, item.text.container.size(), 0xff,0xff,0); - text->wid->Clear(); - text->wid->stream = item.text; - text->wid->Start(); + text->StartText(item.text); text->wid->Flush(); if (item.face.empty()) text->ResetFace(); else text->ShowFace(item.face.c_str());