summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/taglist/pluma-taglist-plugin-panel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/taglist/pluma-taglist-plugin-panel.c b/plugins/taglist/pluma-taglist-plugin-panel.c
index 1784bc16..1e41b635 100644
--- a/plugins/taglist/pluma-taglist-plugin-panel.c
+++ b/plugins/taglist/pluma-taglist-plugin-panel.c
@@ -416,7 +416,7 @@ selected_group_changed (GtkComboBox *combo,
group_name = gtk_combo_box_text_get_active_text (GTK_COMBO_BOX_TEXT (combo));
- if ((group_name == NULL) || (strlen (group_name) <= 0))
+ if ((group_name == NULL) || (*group_name == '\0'))
{
g_free (group_name);
return;