OSDN Git Service

[Refactor] #40413 Separated buffer-shper.c/h from util.c/h
[hengband/hengband.git] / src / autopick / autopick-drawer.c
index 71b0043..4d18014 100644 (file)
@@ -11,6 +11,7 @@
 #include "io/pref-file-expressor.h"
 #include "term/screen-processor.h"
 #include "term/term-color-types.h"
+#include "util/buffer-shaper.h"
 
 #define DESCRIPT_HGT 3
 
@@ -287,7 +288,7 @@ void draw_text_editor(player_type *player_ptr, text_body_type *tb)
                        strcat(buf, _("この行は現在は無効な状態です。", "  This line is bypassed currently."));
                }
 
-               roff_to_buf(buf, 81, temp, sizeof(temp));
+               shape_buffer(buf, 81, temp, sizeof(temp));
                t = temp;
                for (int j = 0; j < 3; j++)
                {