diff options
author | Alexandre Detiste | 2016-02-14 10:27:44 +0100 |
---|---|---|
committer | Alexandre Detiste | 2016-02-15 18:27:02 +0100 |
commit | 6c298e964f7352d82b13d5f60d8e5cc638176dcd (patch) | |
tree | 5e90ad2065c7fbaa86e76b82a4ba5b1fc2bb5105 /engines/sword1 | |
parent | a12940c0a9d67ceb3e13a0b20f50000cc18841a3 (diff) | |
download | scummvm-rg350-6c298e964f7352d82b13d5f60d8e5cc638176dcd.tar.gz scummvm-rg350-6c298e964f7352d82b13d5f60d8e5cc638176dcd.tar.bz2 scummvm-rg350-6c298e964f7352d82b13d5f60d8e5cc638176dcd.zip |
JANITORIAL: Typos detected with lintian & grep
Diffstat (limited to 'engines/sword1')
-rw-r--r-- | engines/sword1/objectman.cpp | 6 | ||||
-rw-r--r-- | engines/sword1/objectman.h | 2 | ||||
-rw-r--r-- | engines/sword1/router.cpp | 2 |
3 files changed, 5 insertions, 5 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. diff --git a/engines/sword1/objectman.h b/engines/sword1/objectman.h index fef1a8da3a..79be82c02f 100644 --- a/engines/sword1/objectman.h +++ b/engines/sword1/objectman.h @@ -62,7 +62,7 @@ private: uint16 _liveList[TOTAL_SECTIONS]; //which sections are active uint8 *_cptData[TOTAL_SECTIONS]; static char _missingSubTitleStr[]; - static const char *const _translationId2950145[7]; //translation for textId 2950145 (missing from cluster file for some langages) + static const char *const _translationId2950145[7]; //translation for textId 2950145 (missing from cluster file for some languages) static const char *const _translationId8455194[7]; //translation for textId 8455194 (missing in the demo) static const char *const _translationId8455195[7]; //translation for textId 8455195 (missing in the demo) static const char *const _translationId8455196[7]; //translation for textId 8455196 (missing in the demo) diff --git a/engines/sword1/router.cpp b/engines/sword1/router.cpp index 72c8440e1c..0c2e9569b6 100644 --- a/engines/sword1/router.cpp +++ b/engines/sword1/router.cpp @@ -1455,7 +1455,7 @@ int32 Router::newCheck(int32 status, int32 x1, int32 y1, int32 x2, int32 y2) { * newCheck differs from check in that that 4 route options are * considered corresponding to actual walked routes. * - * Note distance doesnt take account of shrinking ??? + * Note distance doesn't take account of shrinking ??? * * Note Bars array must be properly calculated ie min max dx dy co *********************************************************************/ |