Difference for common/item.c from version 1.48 to 1.49


version 1.48 version 1.49
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_item_c =   * static char *rcsid_item_c =
  *   "$Id: item.c,v 1.48 2005/07/15 13:51:48 ryo_saeba Exp $";   *   "$Id: item.c,v 1.49 2005/08/12 13:46:34 ryo_saeba Exp $";
  */   */
   
 /*  /*
Line 371
 
Line 371
  * query_short_name(object) is similar to query_name, but doesn't    * query_short_name(object) is similar to query_name, but doesn't
  * contain any information about object status (worn/cursed/etc.)   * contain any information about object status (worn/cursed/etc.)
  */   */
 char *query_short_name(object *op)   const char *query_short_name(object *op)
 {  {
     static char buf[HUGE_BUF];      static char buf[HUGE_BUF];
     char buf2[HUGE_BUF];      char buf2[HUGE_BUF];
Line 548
 
Line 548
  * and sending to client.   * and sending to client.
  * If plural is set, we generate the plural name of this.   * If plural is set, we generate the plural name of this.
  */   */
 char *query_base_name(object *op, int plural) {  const char *query_base_name(object *op, int plural) {
     static char buf[MAX_BUF], buf2[MAX_BUF];      static char buf[MAX_BUF], buf2[MAX_BUF];
     int len;      int len;
     materialtype_t *mt;      materialtype_t *mt;


Legend:
line(s) removed in v.1.48 
line(s) changed
 line(s) added in v.1.49

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