summaryrefslogtreecommitdiff
path: root/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'buffer.c')
-rw-r--r--buffer.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/buffer.c b/buffer.c
index d34b6da..56afffc 100644
--- a/buffer.c
+++ b/buffer.c
@@ -1,10 +1,11 @@
-#include "ted.h"
-
-
// Text buffers - These store the contents of a file.
// NOTE: All text editing should be done through the two functions
// buffer_insert_text_at_pos and buffer_delete_chars_at_pos
+#include "ted.h"
+
+
+
// this is a macro so we get -Wformat warnings
#define buffer_seterr(buffer, ...) \
snprintf(buffer->error, sizeof buffer->error - 1, __VA_ARGS__)