From d56d42269fa36ec35450aeb5be8b745e9b24d58c Mon Sep 17 00:00:00 2001 From: Damien GERARD Date: Fri, 14 Aug 2015 06:06:50 -0700 Subject: [PATCH] Code: remove useless code --- PowerEditor/src/NppCommands.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/PowerEditor/src/NppCommands.cpp b/PowerEditor/src/NppCommands.cpp index 581ffa54..85bf17b3 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();