progress bar fix

svn path=/trunk/boinc/; revision=852
This commit is contained in:
Eric Heien 2003-01-31 19:24:23 +00:00
parent 967f20777e
commit 2371807583
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ void CMainWindow::UpdateGUI(CLIENT_STATE* pcs)
if(!at) { if(!at) {
m_ResultListCtrl.SetItemProgress(i, 4, 0); m_ResultListCtrl.SetItemProgress(i, 4, 0);
} else { } else {
m_ResultListCtrl.SetItemProgress(i, 4, (int)(at->fraction_done * 100)); m_ResultListCtrl.SetItemProgress(i, 4, at->fraction_done * 100);
} }
// to completion // to completion