Problem: 1660115
Title: (TCommandhandler) Aborting command doesn't remove it from undo/redo stack
Received: Jun 2 1997 3:00PM
TCommandHandler::PerformCommand calls TUndoHandler::Abort when DoIt fails. A comment in PerformCommand indicates that Abort frees the command but it does not because fInTransaction is zero when Abort executes and nothing is done.
It does now. The code in TUndoHandler::Abortxxx was using a while loop but should have been using a do-while loop. Thus it caught the case of a transaction (like a drag move across contexts) but it ignored simple little old single commands.
Files Affected: Uundo.cp