summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-09-02 18:08:25 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-09-02 18:08:25 +0200
commit6e5c314e6118796ebec83bac251d7c114f3015b2 (patch)
tree80babfd2d78c9ea65e76be1142c210efd583f79b
parent511e72d936a6a0777c86db8b82323a10bc902379 (diff)
Don't make a numeric equation between chars (openSUSE)
-rw-r--r--src/fe-gtk/gtkutil.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fe-gtk/gtkutil.c b/src/fe-gtk/gtkutil.c
index 0f402bdd..a6fb12aa 100644
--- a/src/fe-gtk/gtkutil.c
+++ b/src/fe-gtk/gtkutil.c
@@ -664,8 +664,10 @@ gtkutil_button (GtkWidget *box, char *stock, char *tip, void *callback,
 		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);
 		gtk_box_pack_start (GTK_BOX (box), wid, 0, 0, 0);