bug 17744; a=choffman; r=floppy moose

This commit is contained in:
jfrancis%netscape.com 1999-11-05 00:46:06 +00:00
Родитель c7d7fbef2b
Коммит 0b73e32c85
2 изменённых файлов: 8 добавлений и 4 удалений

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

@ -610,9 +610,11 @@ nsEditor::EndPlaceHolderTransaction()
{
plcTxn->EndPlaceHolderBatch();
}
else // but if we did make one it should be around
else
{
NS_WARN_IF_FALSE(PR_FALSE, "should this ever happen?");
// in the future we will check to make sure undo is off here,
// since that is the only known case where the placeholdertxn would disappear on us.
// For now just removing the assert.
}
}
}

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

@ -610,9 +610,11 @@ nsEditor::EndPlaceHolderTransaction()
{
plcTxn->EndPlaceHolderBatch();
}
else // but if we did make one it should be around
else
{
NS_WARN_IF_FALSE(PR_FALSE, "should this ever happen?");
// in the future we will check to make sure undo is off here,
// since that is the only known case where the placeholdertxn would disappear on us.
// For now just removing the assert.
}
}
}