OSDN Git Service

[Refactor] #37353 型の置換。 / Type replacement.
authorDeskull <deskull@users.sourceforge.jp>
Wed, 2 Jan 2019 04:01:16 +0000 (13:01 +0900)
committerDeskull <deskull@users.sourceforge.jp>
Wed, 2 Jan 2019 04:01:16 +0000 (13:01 +0900)
src/cmd-item.c
src/object1.c

index 14e19d3..8fc6ed9 100644 (file)
@@ -109,7 +109,6 @@ void do_cmd_equip(void)
        /* Hack -- show empty slots */
        item_tester_full = TRUE;
 
-       /* Display the equipment */
        (void)show_equip(0, 0L);
 
        /* Hack -- undo the hack above */
index b89a9a6..c01f38b 100644 (file)
@@ -1745,16 +1745,15 @@ void display_inven(void)
  */
 void display_equip(void)
 {
-       register        int i, n;
-       object_type     *o_ptr;
-       TERM_COLOR      attr = TERM_WHITE;
-       char            tmp_val[80];
-       char            o_name[MAX_NLEN];
-       int             wid, hgt;
+       register int i, n;
+       object_type *o_ptr;
+       TERM_COLOR attr = TERM_WHITE;
+       char tmp_val[80];
+       char o_name[MAX_NLEN];
+       TERM_LEN wid, hgt;
 
        Term_get_size(&wid, &hgt);
 
-       /* Display the equipment */
        for (i = INVEN_RARM; i < INVEN_TOTAL; i++)
        {
                /* Examine the item */