diff options
author | Valentin Batz <senneth@irssi.org> | 2004-11-04 15:08:57 +0000 |
---|---|---|
committer | vb <vb@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2004-11-04 15:08:57 +0000 |
commit | 7a8c5f6763c790ac737f1483d8faef8744cdc498 (patch) | |
tree | 84dd2d92b9489ffc88325ccdfb58f53448687db2 /src/core/misc.c | |
parent | 99c2aaca4ca32b8e0d42779aab38bed4ff6e9331 (diff) | |
download | irssi-7a8c5f6763c790ac737f1483d8faef8744cdc498.zip |
Fixed bug with time settings where hours actually returned 60*hours
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3679 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/misc.c')
-rw-r--r-- | src/core/misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/misc.c b/src/core/misc.c index f080fd0f..ce49fc16 100644 --- a/src/core/misc.c +++ b/src/core/misc.c @@ -836,7 +836,7 @@ int parse_time_interval(const char *time, int *msecs) } *msecs += number * 1000*3600*24; } else if (g_strncasecmp(desc, "hours", len) == 0) - *msecs += number * 1000*60*3600; + *msecs += number * 1000*3600; else if (g_strncasecmp(desc, "minutes", len) == 0 || g_strncasecmp(desc, "mins", len) == 0) *msecs += number * 1000*60; |