aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/help.cpp
diff options
context:
space:
mode:
authorStrangerke2014-02-16 18:21:37 +0100
committerStrangerke2014-02-16 18:21:37 +0100
commit7c53ba31a4e0ba7d878a1854016ed72eff91fda5 (patch)
treee89574d30f823e9541bc74d9ce8451b6f4bb4e8e /engines/avalanche/help.cpp
parentfc80f5a34688fa460cd221c8fb3c14f33a3d8d2f (diff)
downloadscummvm-rg350-7c53ba31a4e0ba7d878a1854016ed72eff91fda5.tar.gz
scummvm-rg350-7c53ba31a4e0ba7d878a1854016ed72eff91fda5.tar.bz2
scummvm-rg350-7c53ba31a4e0ba7d878a1854016ed72eff91fda5.zip
AVALANCHE: Janitorial - Remove trailing spaces
Diffstat (limited to 'engines/avalanche/help.cpp')
-rw-r--r--engines/avalanche/help.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/avalanche/help.cpp b/engines/avalanche/help.cpp
index 0d4eff9c23..0e60f5fadb 100644
--- a/engines/avalanche/help.cpp
+++ b/engines/avalanche/help.cpp
@@ -52,7 +52,7 @@ Help::Help(AvalancheEngine *vm) {
*/
void Help::switchPage(byte which) {
// Help icons are 80x20.
-
+
_highlightWas = 177; // Forget where the highlight was.
Common::File file;
@@ -78,7 +78,7 @@ void Help::switchPage(byte which) {
_vm->_graphics->drawBigText("help!", _vm->_font, 8, 549, 1, kColorBlack);
_vm->_graphics->drawBigText("help!", _vm->_font, 8, 550, 0, kColorCyan);
-
+
byte y = 0;
do {
Common::String line = getLine(file);
@@ -143,7 +143,7 @@ void Help::switchPage(byte which) {
_vm->_graphics->drawBigText(text, _vm->_font, 8, 589 - (text.size() * 8), 18 + (y + 1) * 27, kColorBlack);
_vm->_graphics->drawBigText(text, _vm->_font, 8, 590 - (text.size() * 8), 17 + (y + 1) * 27, kColorCyan);
-
+
y++;
_buttonNum++;
}
@@ -175,7 +175,7 @@ bool Help::handleMouse(const Common::Event &event) {
if ((mousePos.x < 470) || (mousePos.x > 550) || (((mousePos.y - 13) % 27) > 20))
index = -1;
- else // Clicked on a button.
+ else // Clicked on a button.
index = ((mousePos.y - 13) / 27) - 1;
} else { // LBUTTONDOWN or MOUSEMOVE
int highlightIs = 0;
@@ -244,7 +244,7 @@ void Help::run() {
_vm->fadeIn();
_vm->_graphics->loadMouse(kCurHelp);
-
+
// Originally it was the body of 'continue_help':
bool close = false;
while (!_vm->shouldQuit() && !close) {