From b1999a2a16b83aa031df2ce1cb266b7fea8847da Mon Sep 17 00:00:00 2001 From: Jordi Vilalta Prat Date: Mon, 22 Dec 2008 11:22:15 +0000 Subject: Fixed indentation and removed whitespaces at the end of line svn-id: r35481 --- gui/console.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gui/console.cpp') diff --git a/gui/console.cpp b/gui/console.cpp index 92e5132c22..5ad4051e16 100644 --- a/gui/console.cpp +++ b/gui/console.cpp @@ -109,7 +109,7 @@ void ConsoleDialog::init() { // Calculate the real width/height (rounded to char/line multiples) _w = (uint16)(_widthPercent * screenW); _h = (uint16)((_heightPercent * screenH - 2) / kConsoleLineHeight); - + _w = _w - _w / 20; _h = _h * kConsoleLineHeight + 2; @@ -142,7 +142,7 @@ void ConsoleDialog::open() { // Calculate the real width/height (rounded to char/line multiples) uint16 w = (uint16)(_widthPercent * screenW); uint16 h = (uint16)((_heightPercent * screenH - 2) / kConsoleLineHeight); - + h = h * kConsoleLineHeight + 2; w = w - w / 20; @@ -202,7 +202,7 @@ void ConsoleDialog::drawLine(int line, bool restoreBg) { g_gui.theme()->drawChar(Common::Rect(x, y, x+kConsoleCharWidth, y+kConsoleLineHeight), c, _font); x += kConsoleCharWidth; } - + g_gui.theme()->updateScreen(); } -- cgit v1.2.3