Fixed bug that prevented transaction item children from being redone.

This commit is contained in:
kin%netscape.com 1998-12-08 22:05:23 +00:00
Родитель 14d0a212d5
Коммит 2a9c5f3e6d
1 изменённых файлов: 10 добавлений и 0 удалений

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

@ -177,6 +177,16 @@ nsTransactionItem::RedoChildren()
nsresult result;
PRInt32 sz = 0;
if (!mRedoStack)
return NS_OK;
/* Redo all of the transaction items children! */
result = mRedoStack->GetSize(&sz);
if (!NS_SUCCEEDED(result))
return result;
while (sz-- > 0) {
result = mRedoStack->Peek(&item);