textbox: fix compilation for generic hardware

error: declaration of ‘clear’ shadows a member of 'this'


Origin commit data
------------------
Commit: 0f5aa73033
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-11-02 (Wed, 02 Nov 2016)

Origin message was:
------------------
- textbox: fix compilation for generic hardware

error: declaration of ‘clear’ shadows a member of 'this'
This commit is contained in:
vanhofen
2016-11-02 09:55:45 +01:00
parent 329b279cad
commit fd751e6441

View File

@@ -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()