mjudge at ftangs machine. last fix to stop crashing. still problem with event from external IME window not getting to ESM

git-svn-id: svn://10.0.0.236/trunk@65566 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ftang%netscape.com
2000-04-10 21:35:52 +00:00
parent 81a14eca60
commit 38e332d0be
2 changed files with 12 additions and 24 deletions

View File

@@ -844,20 +844,14 @@ DrawSelectionIterator::DrawSelectionIterator(const SelectionDetails *aSelDetails
mTypes[i]|=details->mType;//add this bit
}
}
if (!mInit && mTypes) //we have details but none that we
{
delete mTypes;
mTypes = nsnull;
mDone = true;
}
details= details->mNext;
}
if (!mInit && mTypes) //we have details but none that we care about.
{
delete mTypes;
mTypes = nsnull;
mDone = PR_TRUE;//we are finished
}
if (!mInit && mTypes) //we have details but none that we care about.
{
delete mTypes;
mTypes = nsnull;
mDone = PR_TRUE;//we are finished
}
}
else if (details->mStart == details->mEnd)//no collapsed selections here!
{