diff --git a/src/gamelog.cpp b/src/gamelog.cpp --- a/src/gamelog.cpp +++ b/src/gamelog.cpp @@ -332,6 +332,7 @@ void GamelogRevision() LoggedChange *lc = GamelogChange(GLCT_REVISION); if (lc == NULL) return; + memset(lc->revision.text, 0, sizeof(lc->revision.text)); strecpy(lc->revision.text, _openttd_revision, lastof(lc->revision.text)); lc->revision.slver = SAVEGAME_VERSION; lc->revision.modified = _openttd_revision_modified;