diff --git a/sdict.cc b/sdict.cc index 5c6054849..7ee11a5df 100644 --- a/sdict.cc +++ b/sdict.cc @@ -305,7 +305,7 @@ string SdictDictionary::convert( string const & in ) b = false; } - if( !result.midRef( n, next - n ).contains( '<' ) ) + if( !result.mid( n, next - n ).contains( '<' ) ) { if( Html::unescape( result.mid( n, next - n ) ).isRightToLeft() != isToLanguageRTL() ) {