aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authornytpu <alex@nytpu.com>2021-05-25 19:15:43 -0600
committernytpu <alex@nytpu.com>2021-05-26 14:26:43 -0600
commitfc6bbe45aecf9e2cfdfa8ec214e2a008d6ce9ac4 (patch)
tree46ecadaa9633b7d8a1101a1983ed51cb349dc2b4 /common.h
parentadd .Os and STANDARDS section to README (diff)
downloaded-fc6bbe45aecf9e2cfdfa8ec214e2a008d6ce9ac4.tar.bz2
ed-fc6bbe45aecf9e2cfdfa8ec214e2a008d6ce9ac4.zip
fix typo in type name
Diffstat (limited to 'common.h')
-rw-r--r--common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common.h b/common.h
index 5392155..28aa675 100644
--- a/common.h
+++ b/common.h
@@ -21,7 +21,7 @@
struct Row {
int idx; // Row number (zero-based)
- int size; // Size of row (excluding trailing \n\0)
+ int size; // Size of row (including trailing \n\0)
char *chars; // Row content
};
@@ -34,7 +34,7 @@ struct Buffer {
bool dirty; // has the buffer been modified since last write?
int numrows;
- struct row *rows;
+ struct Row *rows;
};
extern struct Buffer B;