Commit 7e5ab9ab authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Just use our local C macro MAX()

parent 969a1ef4
Pipeline #2772 passed with stage
in 9 minutes and 20 seconds
......@@ -703,7 +703,7 @@ bool sbbs_t::addtobatdl(file_t* f)
bprintf(text[FileAddedToBatDlQueue]
,f->name, strListCount(filenames) + 1, cfg.max_batdn, ultoac((ulong)totalcost,tmp)
,ultoac((ulong)totalsize,tmp2)
,sectostr((ulong)totalsize/max((ulong)cur_cps, 1),str));
,sectostr((ulong)totalsize/MAX((ulong)cur_cps, 1),str));
result = true;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment