File xchat-2.8.6-string-literal.patch of Package xchat

---
 src/fe-gtk/gtkutil.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: src/fe-gtk/gtkutil.c
===================================================================
--- src/fe-gtk/gtkutil.c.orig
+++ src/fe-gtk/gtkutil.c
@@ -386,7 +386,7 @@ gtkutil_button (GtkWidget *box, char *st
 		gtk_widget_show (bbox);
 
 		img = gtk_image_new_from_stock (stock, GTK_ICON_SIZE_MENU);
-		if (stock == GTK_STOCK_GOTO_LAST)
+		if (strcmp(stock, GTK_STOCK_GOTO_LAST) == 0)
 			gtk_widget_set_usize (img, 10, 6);
 		gtk_container_add (GTK_CONTAINER (bbox), img);
 		gtk_widget_show (img);