diff util.h @ 492:73f8df0ecffe

Add dirty flag to editbuf struct and handling functions.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 27 May 2012 10:06:42 +0300
parents ad7ddce47878
children b6f6c989deab
line wrap: on
line diff
--- a/util.h	Sun May 27 09:23:36 2012 +0300
+++ b/util.h	Sun May 27 10:06:42 2012 +0300
@@ -56,6 +56,7 @@
 {
     size_t pos, len, size;
     char *data;
+    BOOL dirty;
 } nn_editbuf_t;
 
 int         nn_editbuf_write(nn_editbuf_t *buf, size_t pos, char ch);