Difference for plugins/cfpython/cfpython_map.c from version 1.6 to 1.7


version 1.6 version 1.7
Line 195
 
Line 195
   
 static int Map_InternalCompare(Crossfire_Map* left, Crossfire_Map* right)  static int Map_InternalCompare(Crossfire_Map* left, Crossfire_Map* right)
 {  {
  return (int)left->map - (int)right->map;   return left->map < right->map ? -1 : ( left->map == right->map ? 0 : 1 );
 }  }
   
 /* Legacy code: convert to long so that non-object functions work correctly */  /* Legacy code: convert to long so that non-object functions work correctly */


Legend:
line(s) removed in v.1.6 
line(s) changed
 line(s) added in v.1.7

File made using version 1.98 of cvs2html by leaf at 2011-07-21 16:59