diff --git a/PowerEditor/src/NppCommands.cpp b/PowerEditor/src/NppCommands.cpp index 581ffa54a..85bf17b38 100644 --- a/PowerEditor/src/NppCommands.cpp +++ b/PowerEditor/src/NppCommands.cpp @@ -1891,7 +1891,6 @@ void Notepad_plus::command(int id) if (not buf->isDirty()) { - buf = _pEditView->getCurrentBuffer(); buf->setEncoding(encoding); buf->setUnicodeMode(uniCookie); fileReload();