diff --git a/src/thread.cpp b/src/thread.cpp index ecd617e3..dd947f21 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -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;