summaryrefslogtreecommitdiff
path: root/src/fe-common
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-12-16 01:41:29 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-12-16 01:41:29 +0000
commit6720940e1af9a88b30637098c78fe947ea81948d (patch)
tree282f99b33f0dcebf9777855e6cdaf13242e96a22 /src/fe-common
parent5916b9dcb8c909d97fea5ef6b70c86c625eb3b29 (diff)
downloadirssi-6720940e1af9a88b30637098c78fe947ea81948d.zip
Leading zeros didn't work well in IRSSI_VERSION_TIME.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2261 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common')
-rw-r--r--src/fe-common/core/fe-common-core.c2
-rw-r--r--src/fe-common/core/fe-core-commands.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-common/core/fe-common-core.c b/src/fe-common/core/fe-common-core.c
index 8cb3ce77..ae38a2e2 100644
--- a/src/fe-common/core/fe-common-core.c
+++ b/src/fe-common/core/fe-common-core.c
@@ -97,7 +97,7 @@ void fe_core_commands_deinit(void);
static void print_version(void)
{
- printf(PACKAGE" " IRSSI_VERSION" (%d %d)\n",
+ printf(PACKAGE" " IRSSI_VERSION" (%d %04d)\n",
IRSSI_VERSION_DATE, IRSSI_VERSION_TIME);
exit(0);
}
diff --git a/src/fe-common/core/fe-core-commands.c b/src/fe-common/core/fe-core-commands.c
index fc4993e6..eb7f2abb 100644
--- a/src/fe-common/core/fe-core-commands.c
+++ b/src/fe-common/core/fe-core-commands.c
@@ -96,7 +96,7 @@ static void cmd_version(char *data)
if (*data == '\0') {
printtext(NULL, NULL, MSGLEVEL_CLIENTNOTICE,
- "Client: "PACKAGE" " IRSSI_VERSION" (%d %d)",
+ "Client: "PACKAGE" " IRSSI_VERSION" (%d %04d)",
IRSSI_VERSION_DATE, IRSSI_VERSION_TIME);
}
}