aboutsummaryrefslogtreecommitdiff
path: root/src/textadept.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/textadept.c')
-rw-r--r--src/textadept.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textadept.c b/src/textadept.c
index 618dedce..c4e6fbe9 100644
--- a/src/textadept.c
+++ b/src/textadept.c
@@ -895,7 +895,7 @@ static int lgui_menu(lua_State *L) {
#if GTK
l_pushmenu(L, -1, G_CALLBACK(m_clicked), FALSE);
#elif NCURSES
- luaL_error(L, "not implemented in this environment");
+ lua_pushnil(L);
#endif
return 1;
}