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