summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/files.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-10 08:32:25 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-10 08:32:25 +0000
commit16c8c1117fda477278eaf4983d93df1fa83e603a (patch)
tree5d4ce9f6f49c7a7881f776223cdc2bb114a898a9 /crawl-ref/source/files.h
parent4ac70419ee6014d865b26f38d9c3a4fa08bdb2c2 (diff)
downloadcrawl-ref-16c8c1117fda477278eaf4983d93df1fa83e603a.tar.gz
crawl-ref-16c8c1117fda477278eaf4983d93df1fa83e603a.zip
Allow spaces, dashes and periods in character names.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@607 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/files.h')
-rw-r--r--crawl-ref/source/files.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/files.h b/crawl-ref/source/files.h
index 3bbd358a1e..cf6997f464 100644
--- a/crawl-ref/source/files.h
+++ b/crawl-ref/source/files.h
@@ -38,8 +38,10 @@ bool travel_load_map( char branch, int absdepth );
std::vector<player> find_saved_characters();
std::string get_savedir();
-std::string get_savedir_filename(const char *pre, const char *suf,
- const char *ext, bool suppress_uid = false);
+std::string get_savedir_filename(const std::string &pre,
+ const std::string &suf,
+ const std::string &ext,
+ bool suppress_uid = false);
std::string get_prefs_filename();