diff options
| author | Adrian Frühwirth | 2018-05-22 16:03:56 +0200 |
|---|---|---|
| committer | Adrian Frühwirth | 2018-05-24 15:30:55 +0200 |
| commit | cee4d6b8531453c9db921bb987be88995ce86586 (patch) | |
| tree | 144d1ae98d26235227393c6f0e1c332f32b21a40 /engines/titanic/true_talk | |
| parent | bc949250de1fda6b47b99facbdf0c349835b1f53 (diff) | |
| download | scummvm-rg350-cee4d6b8531453c9db921bb987be88995ce86586.tar.gz scummvm-rg350-cee4d6b8531453c9db921bb987be88995ce86586.tar.bz2 scummvm-rg350-cee4d6b8531453c9db921bb987be88995ce86586.zip | |
JANITORIAL: Fix trailing whitespace
Diffstat (limited to 'engines/titanic/true_talk')
| -rw-r--r-- | engines/titanic/true_talk/tt_talker.h | 2 | ||||
| -rw-r--r-- | engines/titanic/true_talk/tt_vocab.cpp | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/engines/titanic/true_talk/tt_talker.h b/engines/titanic/true_talk/tt_talker.h index 4f0b59c044..68b77d8b75 100644 --- a/engines/titanic/true_talk/tt_talker.h +++ b/engines/titanic/true_talk/tt_talker.h @@ -54,7 +54,7 @@ public: * End the speech */ void endSpeech(int val); - + /** * Called when a speech is finished, to signal to the associated character * that the speech is over diff --git a/engines/titanic/true_talk/tt_vocab.cpp b/engines/titanic/true_talk/tt_vocab.cpp index eae456b184..0269e71cee 100644 --- a/engines/titanic/true_talk/tt_vocab.cpp +++ b/engines/titanic/true_talk/tt_vocab.cpp @@ -225,7 +225,7 @@ TTword *TTvocab::getPrimeWord(TTstring &str, TTword **srcWord) const { if (srcWord) // Pass out the pointer to the original word *srcWord = vocabP; - + // Return the new copy of the word return newWord; } @@ -267,7 +267,7 @@ TTword *TTvocab::getSuffixedWord(TTstring &str, TTword **srcWord) const { word = getPrimeWord(tempStr); } } - + } else if (tempStr.hasSuffix("ing")) { tempStr.deleteSuffix(3); word = getPrimeWord(tempStr); @@ -303,11 +303,11 @@ TTword *TTvocab::getSuffixedWord(TTstring &str, TTword **srcWord) const { } } } - + } else if (tempStr.hasSuffix("ed")) { tempStr.deleteSuffix(1); word = getPrimeWord(tempStr); - + if (!word) { tempStr.deleteSuffix(1); word = getPrimeWord(tempStr); @@ -333,7 +333,7 @@ TTword *TTvocab::getSuffixedWord(TTstring &str, TTword **srcWord) const { } else { tempStr = str; } - + } else if (tempStr.hasSuffix("er")) { tempStr.deleteSuffix(1); word = getPrimeWord(tempStr); @@ -395,7 +395,7 @@ TTword *TTvocab::getSuffixedWord(TTstring &str, TTword **srcWord) const { } } } - + } else if (tempStr.hasSuffix("est")) { tempStr.deleteSuffix(2); word = getPrimeWord(tempStr); |
