From 7a8c5f6763c790ac737f1483d8faef8744cdc498 Mon Sep 17 00:00:00 2001 From: Valentin Batz Date: Thu, 4 Nov 2004 15:08:57 +0000 Subject: 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 --- src/core/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/misc.c') 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; -- cgit v1.2.3