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:
{
///*
/*
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);
}