diff options
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/edit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/edit.c b/mbbsd/edit.c index 3b020a33..9c5c2939 100644 --- a/mbbsd/edit.c +++ b/mbbsd/edit.c @@ -2253,7 +2253,7 @@ static const char * const luaLibs[] = { "bbs", "bit", "math", "store", "string", "table", "toc", NULL }; -static const char** const luaLibAPI[] = { +static const char* const * const luaLibAPI[] = { luaBbs, luaBit, luaMath, luaStore, luaString, luaTable, luaToc, NULL }; @@ -2261,7 +2261,7 @@ static const char** const luaLibAPI[] = { int synLuaKeyword(const char *text, int n, char *wlen) { int i = 0; - const char **tbl = NULL; + const char * const *tbl = NULL; if (*text >= 'A' && *text <= 'Z') { // normal identifier |