Avoid an unlikely error in breakpoint listing.

This commit is contained in:
Unknown W. Brackets 2015-01-19 08:31:56 -08:00
parent 72f8f9addd
commit 83b8e564cf

View File

@ -320,6 +320,8 @@ void CtrlBreakpointList::reloadBreakpoints()
{
bool isMemory;
int index = getBreakpointIndex(i, isMemory);
if (index < 0)
continue;
if (isMemory)
SetCheckState(i,(displayedMemChecks_[index].result & MEMCHECK_BREAK) != 0);