From f0a98cddd46ca80e7c37863e01af1ea6e45a6186 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Mon, 6 Jan 2020 16:24:04 -0300 Subject: [PATCH] Fixing action group error. --- src/core/actions/table.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/core/actions/table.c b/src/core/actions/table.c index e6bf007..fa0802d 100644 --- a/src/core/actions/table.c +++ b/src/core/actions/table.c @@ -36,6 +36,7 @@ #include #include #include +#include /*---[ Implement ]------------------------------------------------------------------------------------------------------------*/ @@ -232,7 +233,7 @@ .activate = lib3270_unselect, .group = LIB3270_ACTION_GROUP_SELECTION, - .activatable = lib3270_has_selection + .activatable = lib3270_get_has_selection }, { @@ -620,7 +621,7 @@ static const struct { int (*get)(const H3270 *); - } activatable[LIB3270_ACTION_CUSTOM] = { + } activatable[LIB3270_ACTION_GROUP_CUSTOM] = { { default_activatable_state }, // LIB3270_ACTION_GROUP_NONE { lib3270_is_connected }, // LIB3270_ACTION_GROUP_ONLINE { lib3270_is_disconnected }, // LIB3270_ACTION_GROUP_OFFLINE -- libgit2 0.21.2