In undo/redo, always print the revision that got _restored_.

git-svn-id: https://svn.eduke32.com/eduke32@2491 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2012-03-17 11:35:16 +00:00
parent 5246f17169
commit 4412d5729e

View file

@ -7528,12 +7528,12 @@ static void Keys2d(void)
if (eitherSHIFT)
{
if (map_undoredo(1)) message("Nothing to redo!");
else message("Restored revision %d",map_revision-1);
else message("Redo: restored revision %d", map_revision-1);
}
else
{
if (map_undoredo(0)) message("Nothing to undo!");
else message("Revision %d undone",map_revision);
else message("Undo: restored revision %d", map_revision-1);
}
}
#endif