aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp
index 6ea9a0362b..111737a6ba 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -852,7 +852,7 @@ void Scumm::translateText(byte *text, byte *trans_buff) {
for (;;) {
if(buf[pos] == 0) {
trans_buff[0] = '\0';
- return;
+ break;
}
l = 0;
do {