diff options
author | Timo Sirainen <cras@irssi.org> | 2001-12-15 19:28:44 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-12-15 19:28:44 +0000 |
commit | 1aed7cb956b9926aaa7c09893b526d99ed18b391 (patch) | |
tree | 8edf9f6fd1cd7b562bdd62420f88ef905b2e5c11 /src/core | |
parent | c0620e08041d8fe7dfc0d04f33c30a16c55de2d5 (diff) | |
download | irssi-1aed7cb956b9926aaa7c09893b526d99ed18b391.zip |
IRSSI_VERSION_DATE is now a number, so you can do #iffing with it
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2252 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/expandos.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/expandos.c b/src/core/expandos.c index 84c5e855..25d407db 100644 --- a/src/core/expandos.c +++ b/src/core/expandos.c @@ -363,7 +363,8 @@ static char *expando_target(SERVER_REC *server, void *item, int *free_ret) /* client release date (numeric version string) */ static char *expando_releasedate(SERVER_REC *server, void *item, int *free_ret) { - return IRSSI_VERSION_DATE; + *free_ret = TRUE; + return g_strdup_printf("%d", IRSSI_VERSION_DATE); } /* current working directory */ |