Difference for plugins/cfpython/cfpython_party.c from version 1.1 to 1.2


version 1.1 version 1.2
Line 78
 
Line 78
   
 static int Crossfire_Party_InternalCompare(Crossfire_Party* left, Crossfire_Party* right)  static int Crossfire_Party_InternalCompare(Crossfire_Party* left, Crossfire_Party* right)
 {  {
  return ((int)left->party - (int)right->party);      return (left->party < right->party ? -1 : ( left->party == right->party ? 0 : 1 ) );
 }  }


Legend:
line(s) removed in v.1.1 
line(s) changed
 line(s) added in v.1.2

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:00