tex: remove PATHLEN - neatvi - [fork] simple vi-type editor with UTF-8 support | |
git clone git://src.adamsgaard.dk/neatvi | |
Log | |
Files | |
Refs | |
README | |
--- | |
commit 603f76a42e718ed6fc92a886a4643df37ca113cd | |
parent d77ba570505085a2c006463b174d6fc6da62b3d5 | |
Author: Ali Gholami Rudi <[email protected]> | |
Date: Sun, 14 Jun 2015 09:21:56 +0430 | |
ex: remove PATHLEN | |
Diffstat: | |
M ex.c | 2 +- | |
M vi.h | 2 -- | |
2 files changed, 1 insertion(+), 3 deletions(-) | |
--- | |
diff --git a/ex.c b/ex.c | |
t@@ -289,7 +289,7 @@ static int ec_edit(char *ec) | |
{ | |
char msg[128]; | |
char arg[EXLEN], cmd[EXLEN]; | |
- char path[PATHLEN]; | |
+ char path[EXLEN]; | |
int fd; | |
ex_cmd(ec, cmd); | |
ex_arg(ec, arg); | |
diff --git a/vi.h b/vi.h | |
t@@ -173,8 +173,6 @@ int conf_filetype(int idx, char **ft, char **pat); | |
int conf_highlight_revdir(int *att); | |
/* global variables */ | |
-#define PATHLEN 512 | |
- | |
extern int xrow; | |
extern int xoff; | |
extern int xtop; |