SCR: When running V5 GFX applications as a service / daemon, display appropriate error message instead of trying to display graphics.

svn path=/trunk/boinc/; revision=14645
This commit is contained in:
Charlie Fenton 2008-01-30 04:22:42 +00:00
parent 3babfa82cd
commit 86ac82b9af
1 changed files with 3 additions and 1 deletions

View File

@ -885,7 +885,9 @@ VOID CScreensaver::UpdateErrorBoxText() {
size_t iIndex = 0;
if (SCRAPPERR_BOINCNOGRAPHICSAPPSEXECUTING == m_hrError) {
if ((SCRAPPERR_BOINCNOGRAPHICSAPPSEXECUTING == m_hrError)
|| (SCRAPPERR_DAEMONALLOWSNOGRAPHICS == m_hrError)
) {
if (m_updating_results) return; // results vector is currently being updated by rpc
iResultCount = results.results.size();