summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-06 12:16:19 +0100
committerraveit65 <[email protected]>2021-03-04 21:21:14 +0100
commit0d91cd7289dfc1e59658ea4a946a843a576496c8 (patch)
treec289d678490c6960c75c70651f1b6e4fe46664fa /plugins
parentfb27d5a65ea8513d047e6bcd98acf248eaeb518a (diff)
downloadpluma-0d91cd7289dfc1e59658ea4a946a843a576496c8.tar.bz2
pluma-0d91cd7289dfc1e59658ea4a946a843a576496c8.tar.xz
cppcheck warning: Checking if unsigned expression is less than zero
Diffstat (limited to 'plugins')
-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;