projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8381faa
)
fixed comment copy fail :D
author
pk910
<philipp@zoelle1.de>
Sun, 21 Aug 2011 06:45:48 +0000
(08:45 +0200)
committer
pk910
<philipp@zoelle1.de>
Sun, 21 Aug 2011 06:45:48 +0000
(08:45 +0200)
tools.c
patch
|
blob
|
history
diff --git
a/tools.c
b/tools.c
index cb00985435eb4142e9b130aa908e024e93fd14d5..3bc3374139748594d1a62848c34d0a4d5dfb9bb8 100644
(file)
--- 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 =
864
00
+ if(citem != items && seconds >= 3600) { //60*60 =
36
00
tmp = seconds / 3600;
item[citem++] = build_language_string(user, NULL, (tmp == 1 ? "TIME_HOUR" : "TIME_HOURS"), tmp);
seconds -= tmp * 3600;