diff options
-rw-r--r-- | src/lcurseslib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lcurseslib.c b/src/lcurseslib.c index 8533c34..a73bca8 100644 --- a/src/lcurseslib.c +++ b/src/lcurseslib.c @@ -49,6 +49,7 @@ void draw_menu (lua_State *L) { int table = lua_gettop(L); if (!lua_istable(L, -1)) { lua_pop(L, 1); + attroff(A_BOLD); return; } for (lua_pushnil(L); lua_next(L, table) != 0; lua_pop(L, 1)) |