aboutsummaryrefslogtreecommitdiff
path: root/text.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-09-12 15:46:22 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-09-12 15:51:52 +0200
commit996c8019e45c7ee268ebc7388142e9ff10d4726d (patch)
treea6b1e91aa9b0197cb482de8320d1b6bbe7a23c55 /text.c
parent7e0a214aae6bb7e91c2711f9e90db5fe146dd9d7 (diff)
downloadvis-996c8019e45c7ee268ebc7388142e9ff10d4726d.tar.gz
vis-996c8019e45c7ee268ebc7388142e9ff10d4726d.tar.xz
Remove outdated comments
Diffstat (limited to 'text.c')
-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);