Browse Source

[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
remotes/trunk
Don Ho 12 years ago
parent
commit
4f66f6388c
  1. 4
      PowerEditor/src/Notepad_plus.cpp

4
PowerEditor/src/Notepad_plus.cpp

@ -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…
Cancel
Save