summaryrefslogtreecommitdiff
path: root/graphics/giram/patches/patch-ak
blob: 9a3589f6081b0c5678f1bd6c19a1eaadb2bd015f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ak,v 1.3 2002/01/25 19:20:29 wiz Exp $

--- src/tools.c.orig	Sat Aug  7 04:17:42 1999
+++ src/tools.c
@@ -370,7 +370,8 @@
                                                     &MaskIcon,
                                                     &transparent,
                                                     Tools[i].Icon);
-          TD->PixmapInBox[0] = gtk_pixmap_new(PixmapIcon, MaskIcon);
+	  TD->pos = 0;
+          TD->PixmapInBox[TD->pos] = gtk_pixmap_new(PixmapIcon, MaskIcon);
           /* Draw the little black triangle */
           gc = gdk_gc_new((GTK_PIXMAP(TD->PixmapInBox[TD->pos]))->mask);
           gdk_color_white(gdk_colormap_get_system(), &color);