This commit is contained in:
mjudge%netscape.com 2000-02-10 07:55:34 +00:00
Родитель b3444d6801
Коммит 90364fa4e5
2 изменённых файлов: 18 добавлений и 0 удалений

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

@ -2191,6 +2191,15 @@ nsTextFrame::SetSelected(nsIPresContext* aPresContext,
}
if (!details)
frameState &= ~NS_FRAME_SELECTED_CONTENT;
else
{
SelectionDetails *sdptr = details;
while ((sdptr = details->mNext) != nsnull) {
delete details;
details = sdptr;
}
delete details;
}
}
SetFrameState(frameState);
if (found){ //if range contains this frame...

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

@ -2191,6 +2191,15 @@ nsTextFrame::SetSelected(nsIPresContext* aPresContext,
}
if (!details)
frameState &= ~NS_FRAME_SELECTED_CONTENT;
else
{
SelectionDetails *sdptr = details;
while ((sdptr = details->mNext) != nsnull) {
delete details;
details = sdptr;
}
delete details;
}
}
SetFrameState(frameState);
if (found){ //if range contains this frame...