aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/avalanche/dialogs.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/avalanche/dialogs.cpp b/engines/avalanche/dialogs.cpp
index fdc90bb5c1..e126e5ec80 100644
--- a/engines/avalanche/dialogs.cpp
+++ b/engines/avalanche/dialogs.cpp
@@ -580,6 +580,7 @@ Common::String Dialogs::displayMoney() {
void Dialogs::stripTrailingSpaces(Common::String &str) {
while (str.lastChar() == ' ')
str.deleteLastChar();
+ // We don't use String::trim() here because we need the leading whitespaces.
}
/**