summaryrefslogtreecommitdiffstats
path: root/src/translatordecoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/translatordecoder.h')
-rw-r--r--src/translatordecoder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/translatordecoder.h b/src/translatordecoder.h
index 71610eb..b29ced2 100644
--- a/src/translatordecoder.h
+++ b/src/translatordecoder.h
@@ -71,7 +71,7 @@ class TranslatorDecoder : public Translator
{
oSize -= oLeft;
output.resize(oSize+1);
- output.at(oSize+1)='\0';
+ output.at(oSize)='\0';
return output;
}
else