- textbox: fix compilation for generic hardware

error: declaration of ‘clear’ shadows a member of 'this'
This commit is contained in:
svenhoefer
2016-11-02 09:55:45 +01:00
parent 9d2661a1d8
commit 0f5aa73033

View File

@@ -842,8 +842,8 @@ void CTextBox::clear(void)
if (frameBuffer == NULL) if (frameBuffer == NULL)
return; return;
std::string clear(" "); std::string empty(" ");
setText(&clear); setText(&empty);
} }
bool CTextBox::clearScreenBuffer() bool CTextBox::clearScreenBuffer()