diff options
badwolf.c: Fix gcc warning on string comparison (gchar vs. char)
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | badwolf.c | 2 |
@@ -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); |