diff --git a/sc2/content/base/gamestrings.txt b/sc2/content/base/gamestrings.txt index adc10e55a..fe0a504e3 100644 --- a/sc2/content/base/gamestrings.txt +++ b/sc2/content/base/gamestrings.txt @@ -1831,7 +1831,7 @@ Empty Slot #(Saved Game - Date:) -Saved Game - Date: +Saved Game #(Sound) -- OPTION_STRING_BASE diff --git a/sc2/src/uqm/gameopt.c b/sc2/src/uqm/gameopt.c index 80070e7bf..296d9d3b9 100644 --- a/sc2/src/uqm/gameopt.c +++ b/sc2/src/uqm/gameopt.c @@ -34,7 +34,6 @@ #include "sounds.h" #include "util.h" #include "libs/graphics/gfx_common.h" -#include "libs/log.h" #include @@ -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); } diff --git a/sc2/src/uqm/save.c b/sc2/src/uqm/save.c index 95be06eda..9c3e389d8 100644 --- a/sc2/src/uqm/save.c +++ b/sc2/src/uqm/save.c @@ -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));