(fina, repa, disloan): Fix the previous rev.
This commit is contained in:
parent
fcbe36e76c
commit
e502056dab
3 changed files with 12 additions and 0 deletions
|
@ -84,6 +84,10 @@ repa(void)
|
|||
doubletime += normaltime;
|
||||
normaltime = 0;
|
||||
}
|
||||
if (doubletime < 0) {
|
||||
normaltime += doubletime;
|
||||
doubletime = 0;
|
||||
}
|
||||
|
||||
rate_per_sec = loan.l_irate /
|
||||
((double)loan.l_ldur * SECS_PER_DAY * 100.0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue