diff options
author | Bardur Arantsson <bardur@scientician.net> | 2019-02-15 19:20:25 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2019-02-15 19:20:25 +0100 |
commit | 3eacc4f9835c697c50838b0f341355b5600d0256 (patch) | |
tree | 649f1289c133e4cfac1f8ab702be556016f96625 /src/q_fireprof.cc | |
parent | 5a2727af08483be1a529dcbdbe6aa286694162bc (diff) |
Replace uses of format() with fmt::format()
Diffstat (limited to 'src/q_fireprof.cc')
-rw-r--r-- | src/q_fireprof.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/q_fireprof.cc b/src/q_fireprof.cc index 8a5a9838..5ac09ad2 100644 --- a/src/q_fireprof.cc +++ b/src/q_fireprof.cc @@ -16,7 +16,6 @@ #include "tables.hpp" #include "util.hpp" #include "variable.hpp" -#include "z-form.h" #include "z-rand.hpp" #include "z-term.h" @@ -280,8 +279,8 @@ void quest_fireproof_building(bool_ *paid, bool_ *recreate) /* take item */ inc_stack_size_ex(item_idx, -1, OPTIMIZE, NO_DESCRIBE); - msg_print(format("Great! Let me fireproof some of your items in thanks. I can do %d books, ", num_books)); - msg_print(format("%d staves, or %d scrolls.", num_staff, num_scroll)); + msg_print(fmt::format("Great! Let me fireproof some of your items in thanks. I can do {} books, ", num_books)); + msg_print(fmt::format("{} staves, or {} scrolls.", num_staff, num_scroll)); /* how many items to proof? */ items = get_item_points_remaining(); |