Difference for common/item.c from version 1.64 to 1.65


version 1.64 version 1.65
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_item_c =   * static char *rcsid_item_c =
  *   "$Id: item.c,v 1.64 2006/07/02 15:32:34 tchize Exp $";   *   "$Id: item.c,v 1.65 2006/07/27 22:37:17 akirschbaum Exp $";
  */   */
   
 /*  /*
Line 981
 
Line 981
   
  case POWER_CRYSTAL:   case POWER_CRYSTAL:
      if (op->stats.maxsp>1000){ /*higher capacity crystals*/       if (op->stats.maxsp>1000){ /*higher capacity crystals*/
          i = (op->stats.maxsp%100)/10;           i = (op->stats.maxsp%1000)/100;
          if (i)           if (i)
              snprintf(buf,MAX_BUF,"(capacity %d.%dk). It is ",op->stats.maxsp/100,i);               snprintf(buf,MAX_BUF,"(capacity %d.%dk). It is ",op->stats.maxsp/1000,i);
                 else                  else
              snprintf(buf,MAX_BUF,"(capacity %dk). It is ",op->stats.maxsp/100);               snprintf(buf,MAX_BUF,"(capacity %dk). It is ",op->stats.maxsp/1000);
      }else       }else
          snprintf(buf,MAX_BUF,"(capacity %d). It is ",op->stats.maxsp);           snprintf(buf,MAX_BUF,"(capacity %d). It is ",op->stats.maxsp);
      strcat(retbuf,buf);       strcat(retbuf,buf);


Legend:
line(s) removed in v.1.64 
line(s) changed
 line(s) added in v.1.65

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