From cc2e240fda27697582fb754e5814f35d760e2d28 Mon Sep 17 00:00:00 2001 From: Tim Lan Date: Mon, 23 Jun 2003 19:55:20 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=1568 --- checkin_notes | 1 + client/win/wingui_mainwindow.cpp | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/checkin_notes b/checkin_notes index 69b31a08b8..0b4aa42934 100755 --- a/checkin_notes +++ b/checkin_notes @@ -4959,6 +4959,7 @@ Tim June 23, 2003 UpdateGUI only refreshes active tab (reduces Windows CPU time by 85%) Fixed m_MessageListCtrl scrolling issue Changed pie chart labels + Temporarily fixed the afx assertion failure at line 157 client/ gui_title.c diff --git a/client/win/wingui_mainwindow.cpp b/client/win/wingui_mainwindow.cpp index ed9d603c2e..d93bbff85a 100755 --- a/client/win/wingui_mainwindow.cpp +++ b/client/win/wingui_mainwindow.cpp @@ -151,6 +151,12 @@ void CMainWindow::ClearProjectItems(char *proj_url) { int i; 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();) { ItemURL = m_ProjectListCtrl.GetProjectURL(i); if(!ItemURL.Compare(proj_url)) {