summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/hiscores.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-11-27 13:23:20 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-11-27 13:23:20 +0000
commit7126d90fe0565292ef24bc7d7c0474f988f5f41f (patch)
tree33c09f550f3aa210902b171a007818772e381acf /crawl-ref/source/hiscores.h
parentb7a932776480b974879b0e4de971c98bb90b8f0b (diff)
downloadcrawl-ref-7126d90fe0565292ef24bc7d7c0474f988f5f41f.tar.gz
crawl-ref-7126d90fe0565292ef24bc7d7c0474f988f5f41f.zip
Fixed hiscores buffer segfault madness.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@498 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/hiscores.h')
-rw-r--r--crawl-ref/source/hiscores.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/hiscores.h b/crawl-ref/source/hiscores.h
index 93b22e660d..f8d7841fe7 100644
--- a/crawl-ref/source/hiscores.h
+++ b/crawl-ref/source/hiscores.h
@@ -28,8 +28,8 @@ void hiscores_print_list( int display_count = -1, int format = SCORE_TERSE );
/* ***********************************************************************
* called from: ouch hiscores
* *********************************************************************** */
-void hiscores_format_single( char *buffer, const scorefile_entry &se );
-void hiscores_format_single_long( char *buffer, const scorefile_entry &se,
+std::string hiscores_format_single( const scorefile_entry &se );
+std::string hiscores_format_single_long( const scorefile_entry &se,
bool verbose = false );
#endif // HISCORES_H