Commit f0a98cddd46ca80e7c37863e01af1ea6e45a6186

Authored by Perry Werneck
1 parent c051366c

Fixing action group error.

Showing 1 changed file with 3 additions and 2 deletions   Show diff stats
src/core/actions/table.c
... ... @@ -36,6 +36,7 @@
36 36 #include <lib3270/trace.h>
37 37 #include <lib3270/actions.h>
38 38 #include <lib3270/toggle.h>
  39 +#include <lib3270/log.h>
39 40  
40 41 /*---[ Implement ]------------------------------------------------------------------------------------------------------------*/
41 42  
... ... @@ -232,7 +233,7 @@
232 233 .activate = lib3270_unselect,
233 234  
234 235 .group = LIB3270_ACTION_GROUP_SELECTION,
235   - .activatable = lib3270_has_selection
  236 + .activatable = lib3270_get_has_selection
236 237 },
237 238  
238 239 {
... ... @@ -620,7 +621,7 @@
620 621  
621 622 static const struct {
622 623 int (*get)(const H3270 *);
623   - } activatable[LIB3270_ACTION_CUSTOM] = {
  624 + } activatable[LIB3270_ACTION_GROUP_CUSTOM] = {
624 625 { default_activatable_state }, // LIB3270_ACTION_GROUP_NONE
625 626 { lib3270_is_connected }, // LIB3270_ACTION_GROUP_ONLINE
626 627 { lib3270_is_disconnected }, // LIB3270_ACTION_GROUP_OFFLINE
... ...