CShellWindow: fix textbox position

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Branch: ni/coolstream
Commit: a6537c766b
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-01-03 (Sun, 03 Jan 2016)



------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2016-01-03 21:49:20 +01:00
committed by Thilo Graf
parent 02eaf53589
commit a2d14f83e1

View File

@@ -89,7 +89,7 @@ void CShellWindow::exec()
int w_shell = frameBuffer->getScreenWidth();
unsigned int lines_max = h_shell / font->getHeight();
list<std::string> lines;
CBox textBoxPosition(frameBuffer->getScreenX(), frameBuffer->getScreenX(), w_shell, h_shell);
CBox textBoxPosition(frameBuffer->getScreenX(), frameBuffer->getScreenY(), w_shell, h_shell);
if (textBox == NULL){
textBox = new CTextBox(cmd.c_str(), font, CTextBox::BOTTOM, &textBoxPosition);
textBox->enableSaveScreen(false);