summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-06-26 19:49:18 +0200
committerBardur Arantsson <bardur@scientician.net>2012-06-26 20:06:15 +0200
commit06b20f4b9d18f0a8730707d63f9714719157a9a3 (patch)
treebe517f8c1b5560825a4e7ba584609da66e6e2400
parent758e1f85d64024dce419cfe8a1cd3315b4b58b53 (diff)
Remove HIGHSCORE_DATE_HACK
-rw-r--r--src/files.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/files.c b/src/files.c
index ba60ae29..4e2ff70a 100644
--- a/src/files.c
+++ b/src/files.c
@@ -5377,13 +5377,8 @@ static errr top_twenty(void)
sprintf(the_score.turns, "%9lu", (long)turn - (START_DAY * 10L));
the_score.turns[9] = '\0';
-#ifdef HIGHSCORE_DATE_HACK
- /* Save the date in a hacked up form (9 chars) */
- sprintf(the_score.day, "%-.6s %-.2s", ctime(&ct) + 4, ctime(&ct) + 22);
-#else
/* Save the date in standard form (8 chars) */
strftime(the_score.day, 9, "%m/%d/%y", localtime(&ct));
-#endif
/* Save the player name (15 chars) */
sprintf(the_score.who, "%-.15s", player_name);