aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/gui_lol.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2010-01-25 01:39:44 +0000
committerJohannes Schickel2010-01-25 01:39:44 +0000
commitaed02365ec81e77b3c8aa4f4ecd9a9d3893326f2 (patch)
tree95f119e687a666f65aad5041910c43bdfd4f2929 /engines/kyra/gui_lol.cpp
parentec14cd6e6add76ce4f719edd7ce508d67ebd9f14 (diff)
downloadscummvm-rg350-aed02365ec81e77b3c8aa4f4ecd9a9d3893326f2.tar.gz
scummvm-rg350-aed02365ec81e77b3c8aa4f4ecd9a9d3893326f2.tar.bz2
scummvm-rg350-aed02365ec81e77b3c8aa4f4ecd9a9d3893326f2.zip
Strip trailing spaces/tabs.
svn-id: r47541
Diffstat (limited to 'engines/kyra/gui_lol.cpp')
-rw-r--r--engines/kyra/gui_lol.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/kyra/gui_lol.cpp b/engines/kyra/gui_lol.cpp
index a96c40d1f8..ac6e1aaf27 100644
--- a/engines/kyra/gui_lol.cpp
+++ b/engines/kyra/gui_lol.cpp
@@ -212,7 +212,7 @@ void LoLEngine::gui_displayCharInventory(int charNum) {
if (c && !b)
b = 1;
}
-
+
if (_flags.use16ColorMode)
gui_drawBarGraph(154, 66 + i * 8, 34, 5, b, e, 0x88, 0);
else
@@ -251,7 +251,7 @@ void LoLEngine::gui_printCharacterStats(int index, int redraw, int value) {
col = 158;
if (redraw)
_screen->fprintString("%s", offs + 108, y, col, 0, 4, getLangString(0x4014 + index));
- }
+ }
} else {
//skills
int s = index - 2;
@@ -650,7 +650,7 @@ int LoLEngine::gui_enableControls() {
int start = 74;
int end = 83;
-
+
if (_flags.isTalkie) {
start = 76;
end = 85;
@@ -676,7 +676,7 @@ int LoLEngine::gui_disableControls(int controlMode) {
int start = 74;
int end = 83;
int swtch = 76;
-
+
if (_flags.isTalkie) {
start = 76;
end = 85;
@@ -846,7 +846,7 @@ void LoLEngine::gui_triggerEvent(int eventType) {
for (Common::HashMap<int, int16>::const_iterator c = _keyMap.begin(); c != _keyMap.end(); ++c) {
if (c->_value == eventType)
evt.kbd.keycode = (Common::KeyCode) c->_key;
- }
+ }
}
removeInputTop();
@@ -2621,9 +2621,9 @@ void GUI_LoL::updateSavegameList() {
KyraEngine_v1::SaveHeader header;
Common::InSaveFile *in;
-
+
_savegameList = new char*[_savegameListSize];
-
+
for (int i = 0; i < _savegameListSize; i++) {
in = _vm->openSaveForReading(_vm->getSavegameFilename(i), header);
if (in) {
@@ -2790,7 +2790,7 @@ int GUI_LoL::clickedOptionsMenu(Button *button) {
case 0xfff9:
_vm->_configMusic ^= 1;
_vm->sound()->enableMusic(_vm->_configMusic);
-
+
if (_vm->_configMusic)
_vm->snd_playTrack(_vm->_curMusicTheme);
else