mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 22:37:50 +00:00

mozilla/editor/txmgr/src/nsTransactionManager.cpp mozilla/editor/txmgr/src/nsTransactionStack.cpp - nsTransactionStack::Peek() was intended to return NULL for an empty stack so I changed timeless' change for bug 114166 to return NS_OK and init the return value to zero. - timeless also changed the behavior of nsDeque::End(), it no longer returns an interator that is one past the end. So nsTransactionStack::Peek() had to call CurrentItem() instead of operator--. - I also backed out the changes made to nsTransactionManager.cpp cause they are unnecessary with the changes made to nsTransactionStack::Peek() above. r=timeless@bemail.org sr=hyatt@netscape.com a=leaf@mozilla.org