diff options
author | Bardur Arantsson <bardur@scientician.net> | 2014-06-26 20:25:07 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2014-06-26 20:45:28 +0200 |
commit | 63e481780855d2d6469840d9ba853d91c6bb8c28 (patch) | |
tree | cc2058d41ea5fb6d6595d186183d7951b570e1ac /src/files.cc | |
parent | 442d21a78026ec83de4495a78d8e36aa39fa95b6 (diff) |
Replace usages of WIPE/C_WIPE with memset()
Diffstat (limited to 'src/files.cc')
-rw-r--r-- | src/files.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/files.cc b/src/files.cc index ddfd5045..26687148 100644 --- a/src/files.cc +++ b/src/files.cc @@ -5152,7 +5152,7 @@ static errr top_twenty(void) /* Clear the record */ - WIPE(&the_score, high_score); + memset(&the_score, 0, sizeof(high_score)); /* Save the version */ sprintf(the_score.what, "%ld.%ld.%ld", @@ -5254,7 +5254,7 @@ errr predict_score(void) } /* Clear the record */ - WIPE(&the_score, high_score); + memset(&the_score, 0, sizeof(high_score)); /* Save the version */ sprintf(the_score.what, "%ld.%ld.%ld", |