Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commitfd6724c522448a6ee0b8a3a30f869fc141903bcf (patch)
Author
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2019-04-14 06:20:59 +0200
Committer
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2019-04-14 06:55:39 +0200
Files0a77ab10b728d6dd07567dbf8ced732fbacfae5c
goodwolf-fd6724c522448a6ee0b8a3a30f869fc141903bcf.tar
goodwolf-fd6724c522448a6ee0b8a3a30f869fc141903bcf.tar.gz
goodwolf-fd6724c522448a6ee0b8a3a30f869fc141903bcf.zip
Parent617e6b2a2e7e7c0668e3374f99542ccb506a3099 (diff)
badwolf.c: Fix gcc warning on string comparison (gchar vs. char)
1 files changed, 1 insertions, 1 deletions
-rw-r--r--badwolf.c2
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);