From c1f6b9e7df162aab73392cdb49dce51f832847fd Mon Sep 17 00:00:00 2001 From: Don Ho Date: Tue, 18 Apr 2017 02:47:39 +0200 Subject: [PATCH] Fix VS2013 compiling error --- PowerEditor/src/NppNotification.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/PowerEditor/src/NppNotification.cpp b/PowerEditor/src/NppNotification.cpp index c18b75e19..5a3308aaa 100644 --- a/PowerEditor/src/NppNotification.cpp +++ b/PowerEditor/src/NppNotification.cpp @@ -213,7 +213,7 @@ BOOL Notepad_plus::notify(SCNotification *notification) case TCN_MOUSELEAVING: { - ///* + /* if (_pDocMap && (!_pDocMap->isClosed()) && _pDocMap->isVisible()) { _pDocMap->reloadMap(); @@ -221,13 +221,13 @@ BOOL Notepad_plus::notify(SCNotification *notification) _pDocMap->setTemporarilyShowing(false); } - //*/ - - if (true) + bool doSnapshot = true; + if (doSnapshot) { _documentSnapshot.display(false); } + */ break; } @@ -365,7 +365,8 @@ BOOL Notepad_plus::notify(SCNotification *notification) _isFolding = false; } - if (true) + bool doSnapshot = true; + if (doSnapshot) { _documentSnapshot.display(false); }