ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/plugins/cfpython/cfpython_archetype.c
(Generate patch)

Comparing deliantra/server/plugins/cfpython/cfpython_archetype.c (file contents):
Revision 1.1.1.1 by root, Fri Feb 3 07:14:18 2006 UTC vs.
Revision 1.1.1.2 by elmex, Wed Feb 22 18:03:15 2006 UTC

76 return (PyObject *)wrapper; 76 return (PyObject *)wrapper;
77} 77}
78 78
79static int Crossfire_Archetype_InternalCompare(Crossfire_Archetype* left, Crossfire_Archetype* right) 79static int Crossfire_Archetype_InternalCompare(Crossfire_Archetype* left, Crossfire_Archetype* right)
80{ 80{
81 return ((int)left->arch - (int)right->arch); 81 return (left->arch < right->arch ? -1 : ( left->arch == right->arch ? 0 : 1 ) );
82} 82}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines