@ -299,8 +299,7 @@ std::string ESMReader::getString(int size)
char *ptr = &mBuffer[0];
getExact(ptr, size);
if (size>0 && ptr[size-1]==0)
size = strnlen(ptr, size);
--size;
// Convert to UTF8 and return
if (mEncoder)