aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2014-02-19 21:41:12 +0100
committerStrangerke2014-02-19 21:45:19 +0100
commita2a222e647c2227c9bf01c0023cae1aa72aadcad (patch)
treee41d9bc42e27147cc79830fb28b429a650f8941c /engines
parent72cc9351912c17defd7b5a5d1de4e5e1ce523f71 (diff)
downloadscummvm-rg350-a2a222e647c2227c9bf01c0023cae1aa72aadcad.tar.gz
scummvm-rg350-a2a222e647c2227c9bf01c0023cae1aa72aadcad.tar.bz2
scummvm-rg350-a2a222e647c2227c9bf01c0023cae1aa72aadcad.zip
AVALANCHE: Some British to American english
Diffstat (limited to 'engines')
-rw-r--r--engines/avalanche/avalanche.cpp6
-rw-r--r--engines/avalanche/dialogs.cpp8
2 files changed, 7 insertions, 7 deletions
diff --git a/engines/avalanche/avalanche.cpp b/engines/avalanche/avalanche.cpp
index 8158536a0c..27c366914a 100644
--- a/engines/avalanche/avalanche.cpp
+++ b/engines/avalanche/avalanche.cpp
@@ -279,9 +279,9 @@ void AvalancheEngine::synchronize(Common::Serializer &sz) {
if (!_favoriteSong.empty())
_favoriteSong.clear();
- uint16 favourite_songSize = 0;
- sz.syncAsUint16LE(favourite_songSize);
- for (uint16 i = 0; i < favourite_songSize; i++) {
+ uint16 favoriteSongSize = 0;
+ sz.syncAsUint16LE(favoriteSongSize);
+ for (uint16 i = 0; i < favoriteSongSize; i++) {
sz.syncAsByte(actChr);
_favoriteSong += actChr;
}
diff --git a/engines/avalanche/dialogs.cpp b/engines/avalanche/dialogs.cpp
index b175464f0c..36f6f4470c 100644
--- a/engines/avalanche/dialogs.cpp
+++ b/engines/avalanche/dialogs.cpp
@@ -455,7 +455,7 @@ void Dialogs::drawScroll(DialogFunctionType modeFunc) {
mx -= lx;
my -= ly + 2;
- bool centre = false;
+ bool center = false;
byte iconIndent = 0;
switch (_useIcon) {
@@ -481,11 +481,11 @@ void Dialogs::drawScroll(DialogFunctionType modeFunc) {
if (!_scroll[i].empty())
switch (_scroll[i][_scroll[i].size() - 1]) {
case kControlCenter:
- centre = true;
+ center = true;
_scroll[i].deleteLastChar();
break;
case kControlLeftJustified:
- centre = false;
+ center = false;
_scroll[i].deleteLastChar();
break;
case kControlQuestion:
@@ -497,7 +497,7 @@ void Dialogs::drawScroll(DialogFunctionType modeFunc) {
break;
}
- if (centre)
+ if (center)
say(320 - _scroll[i].size() * 4 + iconIndent, my, _scroll[i]);
else
say(mx + iconIndent, my, _scroll[i]);