From a2d14f83e10c45ab64fc10296c3c61b623df6c27 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sun, 3 Jan 2016 21:49:20 +0100 Subject: [PATCH] CShellWindow: fix textbox position Signed-off-by: Thilo Graf Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/a6537c766bb4958c3a8222db16031769e4496e81 Author: vanhofen Date: 2016-01-03 (Sun, 03 Jan 2016) ------------------ This commit was generated by Migit --- 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);