summaryrefslogtreecommitdiff
path: root/graphics/giram/patches/patch-ak
blob: 66d53476c25006b20a1c533657b256c64e11f3d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$NetBSD: patch-ak,v 1.2 1999/09/09 07:55:22 sakamoto Exp $

--- ./src/tools.c.orig	Sat Aug  7 11:17:42 1999
+++ ./src/tools.c	Thu Sep  9 09:17:58 1999
@@ -371,5 +371,6 @@
                                                     &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);