OSDN Git Service

[Refactor] 無駄な空白、改行の削除、includeのソート
[hengband/hengband.git] / src / cmd-io / cmd-floor.c
index 78b1177..5386879 100644 (file)
@@ -54,7 +54,7 @@ void do_cmd_locate(player_type *creature_ptr)
     DIRECTION dir;
     POSITION y1, x1;
     GAME_TEXT tmp_val[80];
-    GAME_TEXT out_val[160];
+    GAME_TEXT out_val[MAX_MONSTER_NAME];
     TERM_LEN wid, hgt;
     get_screen_size(&wid, &hgt);
     POSITION y2 = y1 = panel_row_min;
@@ -94,4 +94,4 @@ void do_cmd_locate(player_type *creature_ptr)
     creature_ptr->redraw |= PR_MAP;
     creature_ptr->window |= PW_OVERHEAD | PW_DUNGEON;
     handle_stuff(creature_ptr);
-}
+}
\ No newline at end of file