aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/true_talk
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/true_talk')
-rw-r--r--engines/titanic/true_talk/tt_quotes_tree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/true_talk/tt_quotes_tree.cpp b/engines/titanic/true_talk/tt_quotes_tree.cpp
index 16453a10ae..e2293887a8 100644
--- a/engines/titanic/true_talk/tt_quotes_tree.cpp
+++ b/engines/titanic/true_talk/tt_quotes_tree.cpp
@@ -66,7 +66,7 @@ int TTquotesTree::search(const char *str, QuoteTreeNum treeNum,
return -1;
if (remainder) {
- while (*str) {
+ for (; *str; ++str) {
if (*str >= 'a' && *str != 's')
*remainder += *str;
}