Difference for common/loader.c from version 1.78 to 1.79


version 1.78 version 1.79
Line 1947
 
Line 1947
 #line 2 "loader.l"  #line 2 "loader.l"
 /*  /*
  * static char *rcsid_object_c =   * static char *rcsid_object_c =
  *   "$Id: loader.c,v 1.78 2006/02/17 21:37:41 akirschbaum Exp $";   *   "$Id: loader.c,v 1.79 2006/02/27 20:12:44 akirschbaum Exp $";
  */   */
   
 /*  /*
Line 5832
 
Line 5832
     strcpy(retbuf_all," all");      strcpy(retbuf_all," all");
   
     /* Quick check, and probably fairly common */      /* Quick check, and probably fairly common */
     if (mt == MOVE_ALL) return retbuf_all;      if (mt == MOVE_ALL) return retbuf_all+1;
     if (mt == 0) {      if (mt == 0) {
  strcpy(retbuf,"0");   strcpy(retbuf,"0");
  return retbuf;   return retbuf;
Line 5857
 
Line 5857
      * enumerated values.  It doesn't make sense to return       * enumerated values.  It doesn't make sense to return
      * 'all -walk -fly_low' - it is shorter to return 'fly_high swim'       * 'all -walk -fly_low' - it is shorter to return 'fly_high swim'
      */       */
     if (all_count <=1) return retbuf_all;      if (all_count <=1) return retbuf_all+1;
     else return retbuf;      else return retbuf+1;
 }  }
          
   
Line 6054
 
Line 6054
   
   if(op->stats.exp!=op2->stats.exp) {    if(op->stats.exp!=op2->stats.exp) {
 #ifndef WIN32  #ifndef WIN32
     sprintf(buf2,"%lld\n", op->stats.exp);      sprintf(buf2,"%lld", op->stats.exp);
 #else  #else
     sprintf(buf2,"%I64d\n", op->stats.exp);      sprintf(buf2,"%I64d", op->stats.exp);
 #endif  #endif
     ADD_STRINGLINE_ENTRY(fastbuf,"exp ", buf2, 4);      ADD_STRINGLINE_ENTRY(fastbuf,"exp ", buf2, 4);
   }    }
   
   if(op->perm_exp!=op2->perm_exp) {    if(op->perm_exp!=op2->perm_exp) {
 #ifndef WIN32  #ifndef WIN32
     sprintf(buf2,"%lld\n", op->perm_exp);      sprintf(buf2,"%lld", op->perm_exp);
 #else  #else
     sprintf(buf2,"%I64d\n", op->perm_exp);      sprintf(buf2,"%I64d", op->perm_exp);
 #endif  #endif
     ADD_STRINGLINE_ENTRY(fastbuf,"perm_exp ", buf2, 9);      ADD_STRINGLINE_ENTRY(fastbuf,"perm_exp ", buf2, 9);
   }    }


Legend:
line(s) removed in v.1.78 
line(s) changed
 line(s) added in v.1.79

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