summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Carbonneaux2014-07-15 15:27:36 -0400
committerQuentin Carbonneaux2014-07-15 15:53:55 -0400
commitd8563e230bfb2e3742aa5a989ba0b11573f7819c (patch)
tree6f5480b4015d5fc3c1f45d7874d8f7fc2995506b
parentfe949de965fbe2553cea693d2e35b3a86012b695 (diff)
fix test code
-rw-r--r--edit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/edit.c b/edit.c
index 13a3a56..9d83879 100644
--- a/edit.c
+++ b/edit.c
@@ -517,6 +517,7 @@ main() {
len--;
}
eb_ins_utf8(eb, p0, (unsigned char *)p+1, len);
+ log_insert(eb->undo, p0, p0+len);
break;
case '-':
p0 = strtol(line+1, &p, 0);