зеркало из https://github.com/mozilla/gecko-dev.git
mjudge at ftangs machine. last fix to stop crashing. still problem with event from external IME window not getting to ESM
This commit is contained in:
Родитель
878c3400bd
Коммит
9cf267b815
|
@ -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!
|
||||
{
|
||||
|
|
|
@ -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!
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче