summaryrefslogtreecommitdiff
path: root/src/files.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-10-05 18:45:08 +0200
committerBardur Arantsson <bardur@scientician.net>2016-10-05 18:45:08 +0200
commite02a2dfd184a996a02ecc6004a0a03bcfbd19131 (patch)
treecb37d7099bfabb409ab97fffeb4ca71fdb9e110e /src/files.cc
parentaebc48dffa75698be4d2c1bb2b1a0927b10be1cc (diff)
Change store_info_type::name to std::string
Diffstat (limited to 'src/files.cc')
-rw-r--r--src/files.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/files.cc b/src/files.cc
index eef16227..6e795923 100644
--- a/src/files.cc
+++ b/src/files.cc
@@ -2525,7 +2525,7 @@ static void file_character_print_store(FILE *fff, wilderness_type_info *place, s
if (st_ptr->stock.size())
{
/* Header with name of the town */
- fprintf(fff, " [%s Inventory - %s]\n\n", st_info[store].name, place->name);
+ fprintf(fff, " [%s Inventory - %s]\n\n", st_info[store].name.c_str(), place->name);
/* Dump all available items */
for (std::size_t i = 0; i < st_ptr->stock.size(); i++)