Update of /cvsroot/wpdev/wolfpack/python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23998/python
Modified Files:
global.cpp item.cpp
Log Message:
clean ups
Index: item.cpp
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/python/item.cpp,v
retrieving revision 1.117
retrieving revision 1.118
diff -C2 -d -r1.117 -r1.118
*** item.cpp 20 Jul 2004 11:35:38 -0000 1.117
--- item.cpp 27 Jul 2004 06:35:23 -0000 1.118
***************
*** 440,444 ****
return 0;
! QString key = pKey;
return self->pItem->getTag( key ).isValid() ? PyTrue() : PyFalse();
--- 440,444 ----
return 0;
! QString key(pKey);
return self->pItem->getTag( key ).isValid() ? PyTrue() : PyFalse();
Index: global.cpp
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/python/global.cpp,v
retrieving revision 1.142
retrieving revision 1.143
diff -C2 -d -r1.142 -r1.143
*** global.cpp 20 Jul 2004 04:40:51 -0000 1.142
--- global.cpp 27 Jul 2004 06:35:23 -0000 1.143
***************
*** 621,625 ****
UINT32 yBlock = y / 8;
! while ( !iter.atEnd() )
{
// Create a Dictionary
--- 621,625 ----
UINT32 yBlock = y / 8;
! for ( ; !iter.atEnd(); ++iter )
{
// Create a Dictionary
***************
*** 632,636 ****
PyList_Append( list, dict );
- iter++;
}
--- 632,635 ----
***************
*** 1925,1934 ****
QMap<QString, cAcl*>::const_iterator it = Commands::instance()->aclbegin();
! while ( it != Commands::instance()->aclend() )
{
QString name = it.key();
if ( !name.isEmpty() )
PyList_Append( list, PyString_FromString( name ) );
- ++it;
}
--- 1924,1932 ----
QMap<QString, cAcl*>::const_iterator it = Commands::instance()->aclbegin();
! for ( ; it != Commands::instance()->aclend(); ++it )
{
QString name = it.key();
if ( !name.isEmpty() )
PyList_Append( list, PyString_FromString( name ) );
}
***************
*** 2321,2325 ****
return 0;
! QString driver = "unknown";
if ( database == 1 )
--- 2319,2323 ----
return 0;
! QString driver("unknown");
if ( database == 1 )
|