diff options
author | Bardur Arantsson <bardur@scientician.net> | 2017-06-13 18:24:42 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2017-06-13 18:24:42 +0200 |
commit | 5c1aeec4bc33dab46300d2f2b09f7679a0380a44 (patch) | |
tree | 74f39f9d2fe167eb46b6ed838ba07eb439c8e899 /src/util.hpp | |
parent | 554ff9a63d5d9bc64f668a00b6baa9b91dc41306 (diff) |
Add std::string overload for cmsg_print()
Diffstat (limited to 'src/util.hpp')
-rw-r--r-- | src/util.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.hpp b/src/util.hpp index 8b8b2e3c..1f5c3aed 100644 --- a/src/util.hpp +++ b/src/util.hpp @@ -35,6 +35,7 @@ void ascii_to_text(char *buf, cptr str); char inkey_scan(); void display_message(int x, int y, int split, byte color, cptr t); void cmsg_print(byte color, cptr msg); +void cmsg_print(byte color, std::string const &msg); void msg_print(cptr msg); void cmsg_format(byte color, cptr fmt, ...); void msg_format(cptr fmt, ...); |