#include "io/input-key-acceptor.h"
#include "term/screen-processor.h"
#include "term/term-color-types.h"
+#include "util/buffer-shaper.h"
#include "util/int-char-converter.h"
static const byte REALM_SELECT_CANCEL = 255;
break;
cleanup_realm_selection_window();
- roff_to_buf(realm_explanations[technic2magic(creature_ptr->realm1) - 1], 74, temp, sizeof(temp));
+ shape_buffer(realm_explanations[technic2magic(creature_ptr->realm1) - 1], 74, temp, sizeof(temp));
concptr t = temp;
for (int i = 0; i < 10; i++) {
if (t[0] == 0)
break;
cleanup_realm_selection_window();
- roff_to_buf(realm_explanations[technic2magic(creature_ptr->realm2) - 1], 74, temp, sizeof(temp));
+ shape_buffer(realm_explanations[technic2magic(creature_ptr->realm2) - 1], 74, temp, sizeof(temp));
concptr t = temp;
for (int i = 0; i < A_MAX; i++) {
if (t[0] == 0)