summaryrefslogtreecommitdiff
path: root/src/files.cc
diff options
context:
space:
mode:
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++)