thread: dos2unix

This commit is contained in:
Calcitem 2020-10-28 01:03:17 +08:00
parent fe7084a5f0
commit 87517bc486
1 changed files with 2 additions and 2 deletions

View File

@ -362,10 +362,10 @@ void Thread::analyze(Color c)
total = nbwin + nwwin + ndraw;
if (total == 0) {
if (total == 0) {
bwinrate = 0;
wwinrate = 0;
drawrate = 0;
drawrate = 0;
} else {
bwinrate = (float)nbwin * 100 / total;
wwinrate = (float)nwwin * 100 / total;