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:
@@ -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!
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user