diff options
author | Jonathan Gray | 2003-02-03 15:38:54 +0000 |
---|---|---|
committer | Jonathan Gray | 2003-02-03 15:38:54 +0000 |
commit | a3f0758bddbc10224e556ed87f96abec7912a048 (patch) | |
tree | 4f94ec9f825831e8999674dfbb0f7b92dc85fa6a | |
parent | b5d15825d37cb2becdfc6d96d76849c3b83ea843 (diff) | |
download | scummvm-rg350-a3f0758bddbc10224e556ed87f96abec7912a048.tar.gz scummvm-rg350-a3f0758bddbc10224e556ed87f96abec7912a048.tar.bz2 scummvm-rg350-a3f0758bddbc10224e556ed87f96abec7912a048.zip |
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
-rw-r--r-- | scumm/string.cpp | 2 |
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 { |