From a6537c766bb4958c3a8222db16031769e4496e81 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Sun, 3 Jan 2016 21:49:20 +0100 Subject: [PATCH] CShellWindow: fix textbox position Signed-off-by: Thilo Graf --- src/gui/widget/shellwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/widget/shellwindow.cpp b/src/gui/widget/shellwindow.cpp index da1f1ed53..4c477f7ba 100644 --- a/src/gui/widget/shellwindow.cpp +++ b/src/gui/widget/shellwindow.cpp @@ -89,7 +89,7 @@ void CShellWindow::exec() int w_shell = frameBuffer->getScreenWidth(); unsigned int lines_max = h_shell / font->getHeight(); list 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);