aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--text.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/text.c b/text.c
index d81ab76..ad422c5 100644
--- a/text.c
+++ b/text.c
@@ -548,7 +548,6 @@ bool text_insert(Text *txt, size_t pos, const char *data) {
return text_insert_raw(txt, pos, data, strlen(data));
}
-/* undo all changes of the last action, return whether changes existed */
size_t text_undo(Text *txt) {
size_t pos = -1;
Action *a = action_pop(&txt->undo);
@@ -564,7 +563,6 @@ size_t text_undo(Text *txt) {
return pos;
}
-/* redo all changes of the last action, return whether changes existed */
size_t text_redo(Text *txt) {
size_t pos = -1;
Action *a = action_pop(&txt->redo);