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:
ftang%netscape.com 2000-04-10 21:35:52 +00:00
Родитель 878c3400bd
Коммит 9cf267b815
2 изменённых файлов: 12 добавлений и 24 удалений

Просмотреть файл

@ -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!
{