summaryrefslogtreecommitdiff
path: root/undo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'undo.cpp')
-rw-r--r--undo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/undo.cpp b/undo.cpp
index e568675..d985cee 100644
--- a/undo.cpp
+++ b/undo.cpp
@@ -173,7 +173,7 @@ void History_Entry_Commit(memory *Memory, char *Name)
History->EntryPlayhead++;
Memory->IsFileSaved = false;
#if DEBUG
- Assert(Debug.UndoState != 1);
+ Assert(Debug.UndoState != 1); // You forgot to end a History_Entry_Commit()!
Debug.UndoState = 1;
#endif
}