diff options
author | Johannes Schickel | 2012-03-05 20:02:05 +0100 |
---|---|---|
committer | Johannes Schickel | 2012-03-05 20:08:59 +0100 |
commit | 9671b44df8ecd1db46758508b1303d8ab3f515dd (patch) | |
tree | e0d78f84659e53b49ae6628de6b2aa21361afa78 /engines/kyra/gui_rpg.cpp | |
parent | 865c54c125f0b5b0af1cd251cf07ec596dd4631a (diff) | |
download | scummvm-rg350-9671b44df8ecd1db46758508b1303d8ab3f515dd.tar.gz scummvm-rg350-9671b44df8ecd1db46758508b1303d8ab3f515dd.tar.bz2 scummvm-rg350-9671b44df8ecd1db46758508b1303d8ab3f515dd.zip |
KYRA: Some formatting fixes.
Diffstat (limited to 'engines/kyra/gui_rpg.cpp')
-rw-r--r-- | engines/kyra/gui_rpg.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/kyra/gui_rpg.cpp b/engines/kyra/gui_rpg.cpp index a8b94032d0..be40050bb1 100644 --- a/engines/kyra/gui_rpg.cpp +++ b/engines/kyra/gui_rpg.cpp @@ -40,7 +40,8 @@ void KyraRpgEngine::removeInputTop() { } void KyraRpgEngine::gui_drawBox(int x, int y, int w, int h, int frameColor1, int frameColor2, int fillColor) { - w--; h--; + w--; + h--; if (fillColor != -1) screen()->fillRect(x + 1, y + 1, x + w - 1, y + h - 1, fillColor); @@ -128,6 +129,6 @@ bool KyraRpgEngine::clickedShape(int shapeIndex) { return false; } -} // End of namespace Kyra +} // End of namespace Kyra #endif // defined(ENABLE_EOB) || defined(ENABLE_LOL) |