summaryrefslogtreecommitdiff
path: root/txt.h
diff options
context:
space:
mode:
Diffstat (limited to 'txt.h')
-rw-r--r--txt.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/txt.h b/txt.h
index 148369e..f17728a 100644
--- a/txt.h
+++ b/txt.h
@@ -22,7 +22,10 @@ typedef struct {
u32 n, c;
} TxtBuf;
-typedef DYNARR(TxtPiece) TxtPieceTbl;
+typedef struct {
+ DYNARR(TxtPiece);
+ int dirty;
+} TxtPieceTbl;
typedef struct {
struct Txt *t;
@@ -40,7 +43,6 @@ typedef struct Txt {
TxtHist hist;
TxtBuf buf[2];
u32 len;
- int dirty;
} Txt;
/* text buffer manipulation */