aboutsummaryrefslogtreecommitdiff
path: root/vis-core.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-01-07 13:03:58 +0100
committerMarc André Tanner <mat@brain-dump.org>2017-01-07 13:03:58 +0100
commitb812d77ede9b448088279d393460cfa147aa7fc6 (patch)
treebbcdc076974a726bbff09ea7abe4fea34f7ea699 /vis-core.h
parentc71760a7e1867a3d1d528811c3b5c305dfdab3d1 (diff)
downloadvis-b812d77ede9b448088279d393460cfa147aa7fc6.tar.gz
vis-b812d77ede9b448088279d393460cfa147aa7fc6.tar.xz
buffer: remove redundant function
For some reason we ended up with two identical functions: buffer_{clear,terminate}.
Diffstat (limited to 'vis-core.h')
-rw-r--r--vis-core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vis-core.h b/vis-core.h
index ea7396a..292584b 100644
--- a/vis-core.h
+++ b/vis-core.h
@@ -91,7 +91,7 @@ typedef struct {
typedef Buffer Macro;
#define macro_init buffer_init
#define macro_release buffer_release
-#define macro_reset buffer_truncate
+#define macro_reset buffer_clear
#define macro_append buffer_append0
typedef struct { /** collects all information until an operator is executed */