logo

badwolf

Minimalist and privacy-oriented WebKitGTK+ browser
commit: fd6724c522448a6ee0b8a3a30f869fc141903bcf
parent: 617e6b2a2e7e7c0668e3374f99542ccb506a3099
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 14 Apr 2019 06:20:59 +0200

badwolf.c: Fix gcc warning on string comparison (gchar vs. char)

Diffstat:

Mbadwolf.c2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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);