diff --git a/src/dict/stardict.cc b/src/dict/stardict.cc index a9d9be7b3..cd2e62258 100644 --- a/src/dict/stardict.cc +++ b/src/dict/stardict.cc @@ -1660,7 +1660,7 @@ static void handleIdxSynFile( string const & fileName, } if ( rd != 65536 ) { - image.resize( oldSize + rd + 1 ); + image.resize( oldSize + rd ); break; } }