mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=8815
This commit is contained in:
parent
0aa4cbb7ca
commit
daa904a3d8
|
@ -106,7 +106,7 @@ void CPaintStatistics::OnPaint(wxPaintEvent& WXUNUSED(event)) {
|
|||
nb_proj_row=nb_proj;
|
||||
} else {
|
||||
nb_proj_col=2;
|
||||
nb_proj_row=(wxInt32)ceil((wxCoord)(nb_proj/static_cast<double>(nb_proj_col)));
|
||||
nb_proj_row=(wxInt32)ceil(static_cast<double>(nb_proj/static_cast<double>(nb_proj_col)));
|
||||
}
|
||||
|
||||
wxInt32 col=1, row=1; //Used to identify the actual row/col
|
||||
|
|
Loading…
Reference in New Issue