1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Irssi::version() should return the time always with 4 digits, padded with

zeros if needed.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2285 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-12-27 22:35:16 +00:00 committed by cras
parent 0ccf0ebdff
commit de6f8a7439

View File

@ -445,7 +445,7 @@ version()
PREINIT:
char version[100];
CODE:
g_snprintf(version, sizeof(version), "%d.%d",
g_snprintf(version, sizeof(version), "%d.%04d",
IRSSI_VERSION_DATE, IRSSI_VERSION_TIME);
RETVAL = version;
OUTPUT: