diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-01-12 17:38:32 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-01-12 17:38:32 +0000 |
commit | b6e6b789290d65f1621b59551f53c5e39581b590 (patch) | |
tree | 009daa22296877ad474cc179a70b6cbe65f6de65 /crawl-ref | |
parent | 47554e01d8d10ce73f5e15c86e9df228350d65bd (diff) | |
download | crawl-ref-b6e6b789290d65f1621b59551f53c5e39581b590.tar.gz crawl-ref-b6e6b789290d65f1621b59551f53c5e39581b590.zip |
[1569857] Fixed scorefile parsing bug (Eva Myers). The line buffer was too
small for long bolt names.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@844 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/hiscores.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/hiscores.cc b/crawl-ref/source/hiscores.cc index b09c544e3d..0c2f343896 100644 --- a/crawl-ref/source/hiscores.cc +++ b/crawl-ref/source/hiscores.cc @@ -493,7 +493,7 @@ void hs_close( FILE *handle, const char *mode, const std::string &scores ) bool hs_read( FILE *scores, scorefile_entry &dest ) { - char inbuf[200]; + char inbuf[600]; int c = EOF; memset(inbuf, 0, sizeof inbuf); |