зеркало из https://github.com/mozilla/gecko-dev.git
Fixed bug that prevented transaction item children from being redone.
This commit is contained in:
Родитель
14d0a212d5
Коммит
2a9c5f3e6d
|
@ -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);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче