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/fe-common | |
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/fe-common')
-rw-r--r-- | src/fe-common/core/fe-common-core.c | 2 | ||||
-rw-r--r-- | src/fe-common/core/fe-core-commands.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/fe-common/core/fe-common-core.c b/src/fe-common/core/fe-common-core.c index 32855340..4399c4d6 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" ("IRSSI_VERSION_DATE")\n"); + printf(PACKAGE" " IRSSI_VERSION" (%d)\n", IRSSI_VERSION_DATE); exit(0); } diff --git a/src/fe-common/core/fe-core-commands.c b/src/fe-common/core/fe-core-commands.c index 32c9f0cc..733d1f1b 100644 --- a/src/fe-common/core/fe-core-commands.c +++ b/src/fe-common/core/fe-core-commands.c @@ -96,8 +96,8 @@ static void cmd_version(char *data) if (*data == '\0') { printtext(NULL, NULL, MSGLEVEL_CLIENTNOTICE, - "Client: "PACKAGE" " IRSSI_VERSION - " ("IRSSI_VERSION_DATE")"); + "Client: "PACKAGE" " IRSSI_VERSION" (%s)", + IRSSI_VERSION_DATE); } } |