… | … | ||
---|---|---|---|
543 | * contain any information about object status (worn/cursed/etc.) | 543 | * contain any information about object status (worn/cursed/etc.) |
544 | */ | 544 | */ |
545 | const char * | 545 | const char * |
546 | query_short_name (const object *op) | 546 | query_short_name (const object *op) |
547 | { | 547 | { |
548 | if (op->name == 0) | 548 | if (!op->name) |
549 | return "(null)"; | 549 | return "(null)"; |
550 | 550 | ||
551 | if (!op->nrof | 551 | if (!op->nrof |
552 | && !op->weight | 552 | && !op->weight |
553 | && !op->title | 553 | && !op->title |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |