*** empty log message ***

svn path=/trunk/boinc/; revision=1568
This commit is contained in:
Tim Lan 2003-06-23 19:55:20 +00:00
parent aad1e18626
commit cc2e240fda
2 changed files with 7 additions and 0 deletions

View File

@ -4959,6 +4959,7 @@ Tim June 23, 2003
UpdateGUI only refreshes active tab (reduces Windows CPU time by 85%) UpdateGUI only refreshes active tab (reduces Windows CPU time by 85%)
Fixed m_MessageListCtrl scrolling issue Fixed m_MessageListCtrl scrolling issue
Changed pie chart labels Changed pie chart labels
Temporarily fixed the afx assertion failure at line 157
client/ client/
gui_title.c gui_title.c

View File

@ -151,6 +151,12 @@ void CMainWindow::ClearProjectItems(char *proj_url) {
int i; int i;
CString ItemURL; CString ItemURL;
// TODO: find out how proj_url can be null
if (!proj_url) {
fprintf(stderr, "CMainWindow::ClearProjectItems failed: proj_url is null");
return;
}
for(i = 0; i < m_ProjectListCtrl.GetItemCount();) { for(i = 0; i < m_ProjectListCtrl.GetItemCount();) {
ItemURL = m_ProjectListCtrl.GetProjectURL(i); ItemURL = m_ProjectListCtrl.GetProjectURL(i);
if(!ItemURL.Compare(proj_url)) { if(!ItemURL.Compare(proj_url)) {