vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit 2542a602943778f8d70442583a2bfc4d7be23478
parent 8fba3d231e631df4576bffa03a291094eb33b3d9
Author: Michael Forney <mforney@mforney.org>
Date:   Mon, 27 Feb 2017 10:51:17 -0800

Fix a couple typos

Diffstat:
Mtext.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/text.c b/text.c @@ -965,7 +965,7 @@ static bool text_save_begin_inplace(TextSave *ctx) { txt->block->type = MMAP; newfd = -1; } - /* overwrite the exisiting file content, if somehting goes wrong + /* overwrite the existing file content, if something goes wrong * here we are screwed, TODO: make a backup before? */ if (ftruncate(ctx->fd, 0) == -1) goto err;