40 lines
1.6 KiB
Text
40 lines
1.6 KiB
Text
$NetBSD: patch-ah,v 1.1 2007/10/09 11:09:22 rillig Exp $
|
|
|
|
--- Command.c.orig 1996-11-11 10:38:27.000000000 +0100
|
|
+++ Command.c 2007-10-09 12:47:58.000000000 +0200
|
|
@@ -651,7 +651,7 @@ Cardinal *num_args;
|
|
if(oldcbw->command.setpixmap != cbw->command.setpixmap &&
|
|
cbw->command.setpixmap != None)
|
|
{
|
|
- (CommandWidget)cbw->command.setpix =
|
|
+ cbw->command.setpix =
|
|
InsertPixmap(cbw, ((CommandWidget)cbw)->command.setpixmap,
|
|
((CommandWidget)cbw)->simple.pixdir);
|
|
if ((Pixmap)*cbw->command.setpix == (Pixmap)NULL)
|
|
@@ -661,7 +661,7 @@ Cardinal *num_args;
|
|
if(oldcbw->command.hlpixmap != cbw->command.hlpixmap &&
|
|
cbw->command.hlpixmap != None)
|
|
{
|
|
- (CommandWidget)cbw->command.hlpix =
|
|
+ cbw->command.hlpix =
|
|
InsertPixmap(cbw, ((CommandWidget)cbw)->command.hlpixmap,
|
|
((CommandWidget)cbw)->simple.pixdir);
|
|
if ((Pixmap)*cbw->command.hlpix == (Pixmap)NULL)
|
|
@@ -715,7 +715,7 @@ static void Realize(w, valueMask, attrib
|
|
|
|
if(cbw->command.setpixmap != None)
|
|
{
|
|
- (Pixmap *)cbw->command.setpix =
|
|
+ cbw->command.setpix =
|
|
(Pixmap *)InsertPixmap(w, cbw->command.setpixmap,
|
|
cbw->simple.pixdir);
|
|
if( (Pixmap) *cbw->command.setpix == (Pixmap)NULL)
|
|
@@ -723,7 +723,7 @@ static void Realize(w, valueMask, attrib
|
|
}
|
|
if(cbw->command.hlpixmap != None)
|
|
{
|
|
- (Pixmap *)cbw->command.hlpix =
|
|
+ cbw->command.hlpix =
|
|
(Pixmap *)InsertPixmap(w, cbw->command.hlpixmap,
|
|
cbw->simple.pixdir);
|
|
if( (Pixmap) *cbw->command.hlpix == (Pixmap)NULL)
|