diff options
author | Jordi Vilalta Prat | 2008-12-22 11:22:15 +0000 |
---|---|---|
committer | Jordi Vilalta Prat | 2008-12-22 11:22:15 +0000 |
commit | b1999a2a16b83aa031df2ce1cb266b7fea8847da (patch) | |
tree | a042bbc975ead7e8b38243d0d25822d70e72fe69 /gui/console.cpp | |
parent | 2ec51ef3585d9450ddf21cff9212c0bc7f0b6a3f (diff) | |
download | scummvm-rg350-b1999a2a16b83aa031df2ce1cb266b7fea8847da.tar.gz scummvm-rg350-b1999a2a16b83aa031df2ce1cb266b7fea8847da.tar.bz2 scummvm-rg350-b1999a2a16b83aa031df2ce1cb266b7fea8847da.zip |
Fixed indentation and removed whitespaces at the end of line
svn-id: r35481
Diffstat (limited to 'gui/console.cpp')
-rw-r--r-- | gui/console.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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(); } |