diff --git a/src/gui/widget/textbox.cpp b/src/gui/widget/textbox.cpp index 10e04b023..bbddf0fb4 100644 --- a/src/gui/widget/textbox.cpp +++ b/src/gui/widget/textbox.cpp @@ -842,8 +842,8 @@ void CTextBox::clear(void) if (frameBuffer == NULL) return; - std::string clear(" "); - setText(&clear); + std::string empty(" "); + setText(&empty); } bool CTextBox::clearScreenBuffer()