aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1/objectman.cpp
diff options
context:
space:
mode:
authorAlexandre Detiste2016-02-14 10:27:44 +0100
committerAlexandre Detiste2016-02-15 18:27:02 +0100
commit6c298e964f7352d82b13d5f60d8e5cc638176dcd (patch)
tree5e90ad2065c7fbaa86e76b82a4ba5b1fc2bb5105 /engines/sword1/objectman.cpp
parenta12940c0a9d67ceb3e13a0b20f50000cc18841a3 (diff)
downloadscummvm-rg350-6c298e964f7352d82b13d5f60d8e5cc638176dcd.tar.gz
scummvm-rg350-6c298e964f7352d82b13d5f60d8e5cc638176dcd.tar.bz2
scummvm-rg350-6c298e964f7352d82b13d5f60d8e5cc638176dcd.zip
JANITORIAL: Typos detected with lintian & grep
Diffstat (limited to 'engines/sword1/objectman.cpp')
-rw-r--r--engines/sword1/objectman.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sword1/objectman.cpp b/engines/sword1/objectman.cpp
index 07f19154a0..651e47f211 100644
--- a/engines/sword1/objectman.cpp
+++ b/engines/sword1/objectman.cpp
@@ -119,7 +119,7 @@ char *ObjectMan::lockText(uint32 textId, uint8 lang) {
return NULL;
addr += sizeof(Header);
if ((textId & ITM_ID) >= _resMan->readUint32(addr)) {
- // Workaround for missing sentences in some langages in the demo.
+ // Workaround for missing sentences in some languages in the demo.
switch(textId) {
case 8455194:
return const_cast<char *>(_translationId8455194[lang]);
@@ -160,7 +160,7 @@ char *ObjectMan::lockText(uint32 textId, uint8 lang) {
}
uint32 offset = _resMan->readUint32(addr + ((textId & ITM_ID) + 1) * 4);
if (offset == 0) {
- // Workaround bug for missing sentence in some langages in Syria (see bug #1977094).
+ // Workaround bug for missing sentence in some languages in Syria (see bug #1977094).
// We use the hardcoded text in this case.
if (textId == 2950145)
return const_cast<char *>(_translationId2950145[lang]);
@@ -223,7 +223,7 @@ void ObjectMan::saveLiveList(uint16 *dest) {
}
// String displayed when a subtitle sentence is missing in the cluster file.
-// It happens with at least one sentence in Syria in some langages (see bug
+// It happens with at least one sentence in Syria in some languages (see bug
// #1977094).
// Note: an empty string or a null pointer causes a crash.