thread: dos2unix
This commit is contained in:
parent
fe7084a5f0
commit
87517bc486
|
@ -362,10 +362,10 @@ void Thread::analyze(Color c)
|
||||||
|
|
||||||
total = nbwin + nwwin + ndraw;
|
total = nbwin + nwwin + ndraw;
|
||||||
|
|
||||||
if (total == 0) {
|
if (total == 0) {
|
||||||
bwinrate = 0;
|
bwinrate = 0;
|
||||||
wwinrate = 0;
|
wwinrate = 0;
|
||||||
drawrate = 0;
|
drawrate = 0;
|
||||||
} else {
|
} else {
|
||||||
bwinrate = (float)nbwin * 100 / total;
|
bwinrate = (float)nbwin * 100 / total;
|
||||||
wwinrate = (float)nwwin * 100 / total;
|
wwinrate = (float)nwwin * 100 / total;
|
||||||
|
|
Loading…
Reference in New Issue