aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authornytpu <alex@nytpu.com>2021-06-04 16:09:11 -0600
committernytpu <alex@nytpu.com>2021-06-04 16:09:11 -0600
commit7aff99458d98dd75ef6ee0d56dbde9ce3c177ae5 (patch)
tree7f4815bfb18d7febc80670ab3f9a16c92944e299 /common.h
parentadd framework for commands (diff)
downloaded-7aff99458d98dd75ef6ee0d56dbde9ce3c177ae5.tar.bz2
ed-7aff99458d98dd75ef6ee0d56dbde9ce3c177ae5.zip
use one-indexing interally unless actually indexing rows array
Diffstat (limited to 'common.h')
-rw-r--r--common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.h b/common.h
index e041128..7d7b165 100644
--- a/common.h
+++ b/common.h
@@ -50,7 +50,7 @@ struct Editor {
/* misc state information */
bool dirty; // has the buffer been modified since last write?
int scols; // number of columns we can display on screen
- RowNum crow; // current row address
+ RowNum crow; // current row address - ONE INDEXED
const char *last_err; // verbose error message for previous error
};