From e651920ecdfd7e91afe75be1463aaf8efb474f4c Mon Sep 17 00:00:00 2001 From: Javier Date: Mon, 26 Jan 2015 23:28:00 +0100 Subject: fix crash --- libmdock/app-id.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmdock/app-id.c b/libmdock/app-id.c index 6ea456a..076eb98 100644 --- a/libmdock/app-id.c +++ b/libmdock/app-id.c @@ -63,7 +63,7 @@ guint app_id_hash(gconstpointer appid_pointer) gboolean app_id_equal(gconstpointer ap, gconstpointer bp) { const AppId *a = ap, *b = bp; - return strcmp(a->host, b->host) == 0 && + return g_strcmp0(a->host, b->host) == 0 && a->uid == b->uid && g_strcmp0(a->executable, b->executable) == 0 && g_strcmp0(a->wm_class_class, b->wm_class_class) == 0 && -- cgit v1.2.3