Difference for common/loader.l from version 1.75 to 1.76


version 1.75 version 1.76
Line 1
 
Line 1
 %{  %{
 /*  /*
  * static char *rcsid_object_c =   * static char *rcsid_object_c =
  *   "$Id: loader.l,v 1.75 2006/02/17 21:29:47 akirschbaum Exp $";   *   "$Id: loader.l,v 1.76 2006/02/27 20:08:35 akirschbaum Exp $";
  */   */
   
 /*  /*
Line 1547
 
Line 1547
     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 1572
 
Line 1572
      * 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 1769
 
Line 1769
   
   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.75 
line(s) changed
 line(s) added in v.1.76

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