diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-13 17:41:14 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-13 17:41:14 +0000 |
commit | 8581baef6309eb58a513f109d85810b081465e50 (patch) | |
tree | 86403f70c44b7679eb6cb9a75c17171ae97ffdaf /crawl-ref/source/shopping.cc | |
parent | 63e6c073d1607d767dfe829d643f34c9f9199af2 (diff) | |
download | crawl-ref-8581baef6309eb58a513f109d85810b081465e50.tar.gz crawl-ref-8581baef6309eb58a513f109d85810b081465e50.zip |
Add a few apostrophe-related cleanups.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7234 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/shopping.cc')
-rw-r--r-- | crawl-ref/source/shopping.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/shopping.cc b/crawl-ref/source/shopping.cc index cbcbaa89a4..e341a49aca 100644 --- a/crawl-ref/source/shopping.cc +++ b/crawl-ref/source/shopping.cc @@ -28,6 +28,7 @@ #include "items.h" #include "itemname.h" #include "itemprop.h" +#include "Kills.h" #include "macro.h" #include "notes.h" #include "player.h" @@ -1734,8 +1735,7 @@ std::string shop_name(const coord_def& where) | (static_cast<unsigned long>( cshop->keeper_name[1] ) << 8) | (static_cast<unsigned long>( cshop->keeper_name[1] ) << 16); - std::string sh_name = make_name(seed, false); - sh_name += "'s "; + std::string sh_name = apostrophise(make_name(seed, false)) + " "; if (shop_type == SHOP_WEAPON_ANTIQUE || shop_type == SHOP_ARMOUR_ANTIQUE) sh_name += "Antique "; |