From: pk910 Date: Sun, 21 Aug 2011 06:45:48 +0000 (+0200) Subject: fixed comment copy fail :D X-Git-Tag: v5.3~500 X-Git-Url: http://git.pk910.de/?p=NeonServV5.git;a=commitdiff_plain;h=52e3170fc9591b12da4f214cf3e88aabb112ba74 fixed comment copy fail :D --- diff --git a/tools.c b/tools.c index cb00985..3bc3374 100644 --- a/tools.c +++ b/tools.c @@ -195,7 +195,7 @@ int timeToStr(struct UserNode *user, int seconds, int items, char *buf) { item[citem++] = build_language_string(user, NULL, (tmp == 1 ? "TIME_DAY" : "TIME_DAYS"), tmp); seconds -= tmp * 86400; } - if(citem != items && seconds >= 3600) { //60*60 = 86400 + if(citem != items && seconds >= 3600) { //60*60 = 3600 tmp = seconds / 3600; item[citem++] = build_language_string(user, NULL, (tmp == 1 ? "TIME_HOUR" : "TIME_HOURS"), tmp); seconds -= tmp * 3600;