summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Batz <senneth@irssi.org>2004-11-04 15:08:57 +0000
committervb <vb@dbcabf3a-b0e7-0310-adc4-f8d773084564>2004-11-04 15:08:57 +0000
commit7a8c5f6763c790ac737f1483d8faef8744cdc498 (patch)
tree84dd2d92b9489ffc88325ccdfb58f53448687db2
parent99c2aaca4ca32b8e0d42779aab38bed4ff6e9331 (diff)
downloadirssi-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
-rw-r--r--src/core/misc.c2
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;