No warning !

This commit is contained in:
Ludovic Jacomme 2002-04-26 13:36:19 +00:00
parent 8727f0f873
commit fd801f33ba
7 changed files with 10 additions and 10 deletions

View File

@ -489,7 +489,7 @@ void XfsmDisplaySelectList( Message )
else
{
Label = XmStringCreateSimple( Message );
XmListAddItem( XfsmEditSelectButton[ 0 ].BUTTON , Label , NULL );
XmListAddItem( XfsmEditSelectButton[ 0 ].BUTTON , Label , 0 );
XmStringFree( Label );
}

View File

@ -195,12 +195,12 @@ void XfsmSetLibraryList()
Index++ )
{
Label = XmStringCreateSimple( XFSM_CATA_LIB[ Index ] );
XmListAddItem( XfsmLibraryList , Label , NULL );
XmListAddItem( XfsmLibraryList , Label , 0 );
XmStringFree( Label );
}
Label = XmStringCreateSimple( XFSM_WORK_LIB );
XmListAddItem( XfsmLibraryList , Label , NULL );
XmListAddItem( XfsmLibraryList , Label , 0 );
XmStringFree( Label );
XFSM_DEFAULT_LIB = (char *)NULL;

View File

@ -487,7 +487,7 @@ void XpatDisplaySelectList( Message )
else
{
Label = XmStringCreateSimple( Message );
XmListAddItem( XpatEditSelectButton[ 0 ].BUTTON , Label , NULL );
XmListAddItem( XpatEditSelectButton[ 0 ].BUTTON , Label , 0 );
XmStringFree( Label );
}

View File

@ -193,12 +193,12 @@ void XpatSetLibraryList()
Index++ )
{
Label = XmStringCreateSimple( XPAT_CATA_LIB[ Index ] );
XmListAddItem( XpatLibraryList , Label , NULL );
XmListAddItem( XpatLibraryList , Label , 0 );
XmStringFree( Label );
}
Label = XmStringCreateSimple( XPAT_WORK_LIB );
XmListAddItem( XpatLibraryList , Label , NULL );
XmListAddItem( XpatLibraryList , Label , 0 );
XmStringFree( Label );
XPAT_DEFAULT_LIB = (char *)NULL;

View File

@ -491,7 +491,7 @@ void XschDisplaySelectList( Message )
else
{
Label = XmStringCreateSimple( Message );
XmListAddItem( XschEditSelectButton[ 0 ].BUTTON , Label , NULL );
XmListAddItem( XschEditSelectButton[ 0 ].BUTTON , Label , 0 );
XmStringFree( Label );
}

View File

@ -194,12 +194,12 @@ void XschSetLibraryList()
Index++ )
{
Label = XmStringCreateSimple( XSCH_CATA_LIB[ Index ] );
XmListAddItem( XschLibraryList , Label , NULL );
XmListAddItem( XschLibraryList , Label , 0 );
XmStringFree( Label );
}
Label = XmStringCreateSimple( XSCH_WORK_LIB );
XmListAddItem( XschLibraryList , Label , NULL );
XmListAddItem( XschLibraryList , Label , 0 );
XmStringFree( Label );
XSCH_DEFAULT_LIB = (char *)NULL;

View File

@ -558,7 +558,7 @@ void XvpnDisplaySelectList( Message )
else
{
Label = XmStringCreateSimple( Message );
XmListAddItem( XvpnEditSelectButton[ 0 ].BUTTON , Label , NULL );
XmListAddItem( XvpnEditSelectButton[ 0 ].BUTTON , Label , 0 );
XmStringFree( Label );
}