X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FEncoding.cpp;h=0d1d11607720b7ac622c11a3fc490607c4d2c612;hb=44cdffa39e9160bde46d824f1915f9ef3084b53e;hp=c4fb1d581ad851fd375b01a92c4116f209f637b0;hpb=9c55af4a223ce4db29d643251109e245665344bd;p=lyx.git diff --git a/src/Encoding.cpp b/src/Encoding.cpp index c4fb1d581a..0d1d116077 100644 --- a/src/Encoding.cpp +++ b/src/Encoding.cpp @@ -166,11 +166,11 @@ void Encoding::init() const } } lyxerr.enable(); - CharSet::iterator it = encodable_.find(start_encodable_); - while (it != encodable_.end()) { + CharSet::iterator it = encodable.find(start_encodable); + while (it != encodable.end()) { encodable.erase(it); ++start_encodable; - it = encodable_.find(start_encodable_); + it = encodable.find(start_encodable); } const_cast(this)->complete_ = true; }