Skip to content

Commit 7f8cae2

Browse files
committed
Added the release date in the screen title
1 parent 489aff6 commit 7f8cae2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## iGame VERSION_TAG - [RELEASE_DATE]
22
### Changed
3-
- Simplified the version string
3+
- Simplified the version string and added the release date in the screen title
44

55
### Fixed
66
- Fixed the menus in MorphOS that were broken for some time now

src/iGameGUI.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -246,21 +246,21 @@ struct ObjApp *CreateApp(void)
246246
struct ObjApp *object;
247247
APTR strip;
248248
static char about_text[512];
249-
static char version_string[16];
249+
static char version_string[30];
250250

251251
#ifndef __MORPHOS__
252252
translateMenu(MenuMainWin);
253253
#endif // ndef __MORPHOS__
254254

255255
snprintf(version_string, sizeof(version_string),
256-
"%s v%d.%d.%d",
256+
"%s %d.%d.%d (%s)",
257257
GetMBString(MSG_WI_MainWindow),
258-
MAJOR_VERS, MINOR_VERS, PATCH_VERS
258+
MAJOR_VERS, MINOR_VERS, PATCH_VERS, STR(RELEASE_DATE)
259259
);
260260

261261
snprintf(about_text, sizeof(about_text),
262-
"%s (%s)\n%s %s\n\nCopyright 2005-%d\n%s"
263-
, version_string, STR(RELEASE_DATE), GetMBString(MSG_compiledForAboutWin), STR(CPU_VERS), COPY_END_YEAR, GetMBString(MSG_TX_About)
262+
"%s\n%s %s\n\nCopyright 2005-%d\n%s",
263+
version_string, GetMBString(MSG_compiledForAboutWin), STR(CPU_VERS), COPY_END_YEAR, GetMBString(MSG_TX_About)
264264
);
265265

266266
#ifdef __MORPHOS__

0 commit comments

Comments
 (0)