Skip to content

Commit ef843ae

Browse files
committed
Correct for renamed and missing version variables
1 parent a9794ff commit ef843ae

File tree

3 files changed

+4
-12
lines changed

3 files changed

+4
-12
lines changed

src/Etterna/Globals/StepMania.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -969,10 +969,7 @@ WriteLogHeader()
969969
{
970970
LOG->Info("%s%s", PRODUCT_FAMILY, product_version);
971971

972-
LOG->Info("Compiled %s @ %s (build %s)",
973-
version_date,
974-
version_time,
975-
::sm_version_git_hash);
972+
LOG->Info("(build %s)", ::version_git_hash);
976973

977974
time_t cur_time;
978975
time(&cur_time);

src/Etterna/Singletons/CommandLineActions.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,7 @@ Version()
9696
#ifdef _WIN32
9797
RString sProductID =
9898
ssprintf("%s", (string(PRODUCT_FAMILY) + product_version).c_str());
99-
RString sVersion = ssprintf("build %s\nCompile Date: %s @ %s",
100-
::sm_version_git_hash,
101-
version_date,
102-
version_time);
99+
RString sVersion = ssprintf("build %s", ::version_git_hash);
103100

104101
AllocConsole();
105102
freopen("CONOUT$", "wb", stdout);

src/archutils/Win32/CrashHandlerChild.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -462,12 +462,10 @@ struct CompleteCrashData
462462
static void
463463
MakeCrashReport(const CompleteCrashData& Data, RString& sOut)
464464
{
465-
sOut += ssprintf("%s crash report (build %s, %s @ %s)\n"
465+
sOut += ssprintf("%s crash report (build %s)\n"
466466
"--------------------------------------\n\n",
467467
(string(PRODUCT_FAMILY) + product_version).c_str(),
468-
::sm_version_git_hash,
469-
version_date,
470-
version_time);
468+
::version_git_hash);
471469

472470
sOut += ssprintf("Crash reason: %s\n", Data.m_CrashInfo.m_CrashReason);
473471
sOut += ssprintf("\n");

0 commit comments

Comments
 (0)