From a3f0758bddbc10224e556ed87f96abec7912a048 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Mon, 3 Feb 2003 15:38:54 +0000 Subject: change translateText as per erik's patch, although if this is failing because the text is already translated we should probably be avoiding calling translateText multiple times for the same strings in the first place svn-id: r6584 --- scumm/string.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.3