| tlbuf: useq should always be nonzero - neatvi - [fork] simple vi-type editor wi… | |
| git clone git://src.adamsgaard.dk/neatvi | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit b597ca3b8a3bbcc866143c6a90a75c178493445d | |
| parent 6c11cc68caed3ecb5b51e1185bd794498f7dd785 | |
| Author: Ali Gholami Rudi <[email protected]> | |
| Date: Fri, 5 Jun 2015 09:46:56 +0430 | |
| lbuf: useq should always be nonzero | |
| Diffstat: | |
| M lbuf.c | 1 + | |
| 1 file changed, 1 insertion(+), 0 deletions(-) | |
| --- | |
| diff --git a/lbuf.c b/lbuf.c | |
| t@@ -37,6 +37,7 @@ struct lbuf *lbuf_make(void) | |
| memset(lb, 0, sizeof(*lb)); | |
| for (i = 0; i < LEN(lb->mark); i++) | |
| lb->mark[i] = -1; | |
| + lb->useq = 1; | |
| return lb; | |
| } | |