vis

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

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

commit b4f3013ba9e6f361f79868e4b41152bb4d408664
parent 6a2788f0c2f8483649eaeb55e60e00b5c3b821a8
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Thu, 10 Nov 2016 22:38:11 +0100

vis: fix compilation with Lua support disabled

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

diff --git a/vis-lua.c b/vis-lua.c @@ -123,7 +123,7 @@ static void window_status_update(Vis *vis, Win *win) { #if !CONFIG_LUA bool vis_lua_path_add(Vis *vis, const char *path) { return true; } -bool vis_lua_paths_get(Vis *vis, const char **lpath, const char **cpath) { return false; } +bool vis_lua_paths_get(Vis *vis, char **lpath, char **cpath) { return false; } void vis_lua_init(Vis *vis) { } void vis_lua_start(Vis *vis) { } void vis_lua_quit(Vis *vis) { }