summaryrefslogtreecommitdiff
path: root/src/core
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/core
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/core')
-rw-r--r--src/core/expandos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/expandos.c b/src/core/expandos.c
index a0719865..777d50e1 100644
--- a/src/core/expandos.c
+++ b/src/core/expandos.c
@@ -371,7 +371,7 @@ static char *expando_releasedate(SERVER_REC *server, void *item, int *free_ret)
static char *expando_releasetime(SERVER_REC *server, void *item, int *free_ret)
{
*free_ret = TRUE;
- return g_strdup_printf("%d", IRSSI_VERSION_TIME);
+ return g_strdup_printf("%04d", IRSSI_VERSION_TIME);
}
/* current working directory */