Parent Directory | Revision Log | Patch
Revision 49 | Revision 50 | ||
---|---|---|---|
… | … | ||
1485 | int i; | 1485 | int i; |
1486 | 1486 | ||
1487 | for (i = 0; i < sizeof(item_names) / sizeof(struct item_name); i++) | 1487 | for (i = 0; i < sizeof(item_names) / sizeof(struct item_name); i++) |
1488 | { | 1488 | { |
1489 | if (item_names[i].item == item) | 1489 | if (item_names[i].item == item) |
1490 | { | ||
1490 | return item_names[i].name; | 1491 | return item_names[i].name; |
1491 | } | 1492 | } |
1493 | } | ||
1494 | |||
1492 | return NULL; | 1495 | return NULL; |
1493 | } | 1496 | } |
1494 | 1497 | ||
1495 | struct item_hash | 1498 | struct item_hash |
1496 | { | 1499 | { |
|
Visit the ZANavi Wiki |