From 83f8a97b11d708a8c1d210cb44e0ab0088cdffa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 21 Oct 2015 16:08:32 +0200 Subject: vis: pass editor instance to command handling funcitons --- editor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor.h') diff --git a/editor.h b/editor.h index 655ef07..71d7fc3 100644 --- a/editor.h +++ b/editor.h @@ -128,7 +128,7 @@ typedef struct { /* command definitions for the ':'-prompt */ const char *name[3]; /* name and optional alias for the command */ /* command logic called with a NULL terminated array of arguments. * argv[0] will be the command name */ - bool (*cmd)(Filerange*, enum CmdOpt opt, const char *argv[]); + bool (*cmd)(Vis*, Filerange*, enum CmdOpt opt, const char *argv[]); enum CmdOpt opt; /* command option flags */ } Command; -- cgit v1.2.3