From fd6724c522448a6ee0b8a3a30f869fc141903bcf Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Sun, 14 Apr 2019 06:20:59 +0200 Subject: badwolf.c: Fix gcc warning on string comparison (gchar vs. char) --- badwolf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/badwolf.c b/badwolf.c index 612397c..fce2f2e 100644 --- a/badwolf.c +++ b/badwolf.c @@ -185,7 +185,7 @@ webView_tab_label_change(struct Client *browser, const gchar *title) { GtkWidget *notebook = browser->window->notebook; -#define title_IS_EMPTY (title == NULL) || (title == "") +#define title_IS_EMPTY (title == NULL) || (title == (const gchar *)"") if(title_IS_EMPTY) title = webkit_web_view_get_title(browser->webView); if(title_IS_EMPTY) title = webkit_web_view_get_uri(browser->webView); -- cgit v1.3.1-23-gd82d