Fix VS2013 compiling error

This commit is contained in:
Don Ho 2017-04-18 02:47:39 +02:00
parent 20e669ff01
commit c1f6b9e7df

View File

@ -213,7 +213,7 @@ BOOL Notepad_plus::notify(SCNotification *notification)
case TCN_MOUSELEAVING: case TCN_MOUSELEAVING:
{ {
///* /*
if (_pDocMap && (!_pDocMap->isClosed()) && _pDocMap->isVisible()) if (_pDocMap && (!_pDocMap->isClosed()) && _pDocMap->isVisible())
{ {
_pDocMap->reloadMap(); _pDocMap->reloadMap();
@ -221,13 +221,13 @@ BOOL Notepad_plus::notify(SCNotification *notification)
_pDocMap->setTemporarilyShowing(false); _pDocMap->setTemporarilyShowing(false);
} }
//*/
bool doSnapshot = true;
if (true) if (doSnapshot)
{ {
_documentSnapshot.display(false); _documentSnapshot.display(false);
} }
*/
break; break;
} }
@ -365,7 +365,8 @@ BOOL Notepad_plus::notify(SCNotification *notification)
_isFolding = false; _isFolding = false;
} }
if (true) bool doSnapshot = true;
if (doSnapshot)
{ {
_documentSnapshot.display(false); _documentSnapshot.display(false);
} }