diff options
Diffstat (limited to 'txt.h')
| -rw-r--r-- | txt.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 */ |
