diff --git a/src/osgText/EncodedText.cpp b/src/osgText/EncodedText.cpp index c867de64e..8d8846cbe 100644 --- a/src/osgText/EncodedText.cpp +++ b/src/osgText/EncodedText.cpp @@ -219,7 +219,6 @@ void EncodedText::setText(const unsigned char* text, int length) character = getNextCharacter(text); charCount = (int)(text-textStart); } - _unicodeText.push_back(0); //just making the null-termination explicit } }