diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-10-05 18:45:08 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-10-05 18:45:08 +0200 |
commit | e02a2dfd184a996a02ecc6004a0a03bcfbd19131 (patch) | |
tree | cb37d7099bfabb409ab97fffeb4ca71fdb9e110e /src/files.cc | |
parent | aebc48dffa75698be4d2c1bb2b1a0927b10be1cc (diff) |
Change store_info_type::name to std::string
Diffstat (limited to 'src/files.cc')
-rw-r--r-- | src/files.cc | 2 |
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++) |