Commit f8f87bed15f76aa9f250e52744b10a4ba0bb3562

Authored by Perry Werneck
1 parent 4edf6a12
Exists in master and in 1 other branch develop

Fixing action label.

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/terminal/actions/action.c
@@ -332,7 +332,7 @@ @@ -332,7 +332,7 @@
332 const gchar * v3270_action_get_label(GAction *action) { 332 const gchar * v3270_action_get_label(GAction *action) {
333 const gchar * label = V3270_ACTION_GET_DESCRIPTOR(action)->label; 333 const gchar * label = V3270_ACTION_GET_DESCRIPTOR(action)->label;
334 334
335 - if(label) 335 + if(label && *label)
336 return v3270_action_translate(action,label); 336 return v3270_action_translate(action,label);
337 337
338 return NULL; 338 return NULL;