pkgsrc/x11/Xaw-Xpm/patches/patch-ai
2007-10-09 11:09:21 +00:00

13 lines
584 B
Text

$NetBSD: patch-ai,v 1.1 2007/10/09 11:09:23 rillig Exp $
--- Panner.c.orig 1996-10-26 09:59:58.000000000 +0200
+++ Panner.c 2007-10-09 12:48:44.000000000 +0200
@@ -556,7 +556,7 @@ static void Realize (gw, valuemaskp, att
(gw, valuemaskp, attr);
if(pw->panner.sliderpixmap != None)
{
- (Pixmap *)((PannerWidget)pw)->panner.spix =
+ ((PannerWidget)pw)->panner.spix =
(Pixmap *)InsertPixmap(pw, ((PannerWidget)pw)->panner.sliderpixmap,
((PannerWidget)pw)->simple.pixdir);
if((Pixmap)*((PannerWidget)pw)->panner.spix == (Pixmap)NULL)