Normalize legacy/modern save display.

Also clean up some detritus from the initial implementation.
This commit is contained in:
Michael Martin
2013-09-25 17:41:43 -07:00
parent 28fb037258
commit 2fc4f01ec4
3 changed files with 2 additions and 7 deletions
+1 -5
View File
@@ -34,7 +34,6 @@
#include "sounds.h"
#include "util.h"
#include "libs/graphics/gfx_common.h"
#include "libs/log.h"
#include <ctype.h>
@@ -994,10 +993,7 @@ DrawGameSelection (PICK_GAME_STATE *pickState, COUNT selSlot)
{
DateToString (buf2, sizeof buf2, desc->month_index,
desc->day_index, desc->year_index);
if (desc->SaveName[0])
snprintf (buf, sizeof buf, "%s: %s", buf2, desc->SaveName);
else
snprintf (buf, sizeof buf, "%s", buf2);
snprintf (buf, sizeof buf, "%s: %s", buf2, desc->SaveName[0] ? desc->SaveName : GAME_STRING (SAVEGAME_STRING_BASE + 4));
}
font_DrawText (&t);
}
-1
View File
@@ -483,7 +483,6 @@ SaveStarDesc (const STAR_DESC *SDPtr, DECODE_REF fh)
static void
PrepareSummary (SUMMARY_DESC *SummPtr, const char *name)
{
int i;
SummPtr->SS = GlobData.SIS_state;
SummPtr->Activity = LOBYTE (GLOBAL (CurrentActivity));