[wpdev-commits] wolfpack/python gump.h,1.19,1.20
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-07-05 12:53:08
|
Update of /cvsroot/wpdev/wolfpack/python In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9978/python Modified Files: gump.h Log Message: fixes for python gumps and tags Index: gump.h =================================================================== RCS file: /cvsroot/wpdev/wolfpack/python/gump.h,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** gump.h 29 Jun 2004 22:22:59 -0000 1.19 --- gump.h 5 Jul 2004 12:52:58 -0000 1.20 *************** *** 67,74 **** for ( ; iter != textentries.end(); ++iter ) { ! if ( !iter->second.isEmpty() ) ! PyDict_SetItem( dict, PyInt_FromLong( iter->first ), PyString_FromString( iter->second.latin1() ) ); ! else ! PyDict_SetItem( dict, PyInt_FromLong( iter->first ), PyString_FromString( "" ) ); } --- 67,71 ---- for ( ; iter != textentries.end(); ++iter ) { ! PyDict_SetItem(dict, PyInt_FromLong(iter->first), QString2Python(iter->second)); } |