[BUG_FIXED] prevent from crash in debug mode.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1075 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
parent
4dd7423f61
commit
4f66f6388c
@ -850,8 +850,8 @@ void Notepad_plus::saveDockingParams()
|
||||
}
|
||||
floatContArray[floatCont] = 1;
|
||||
}
|
||||
|
||||
vPluginDockInfo.push_back(nppGUI._dockingData._pluginDockInfo[i]);
|
||||
if (i < nppGUI._dockingData._pluginDockInfo.size()) // to prevent from crash in debug mode
|
||||
vPluginDockInfo.push_back(nppGUI._dockingData._pluginDockInfo[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user