mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=5316
This commit is contained in:
parent
867a2fc1fe
commit
c1cc23ef29
|
@ -23990,4 +23990,8 @@ Rom 4 Feb 2005
|
|||
boinc_win.h
|
||||
parse.C
|
||||
|
||||
|
||||
Rom 4 Feb 2005
|
||||
- Bug Fix: Don't record the blank time as Epoch time in the registry.
|
||||
|
||||
client/win/
|
||||
win_screensaver.cpp
|
||||
|
|
|
@ -170,14 +170,14 @@ HRESULT CScreensaver::Create( HINSTANCE hInstance )
|
|||
bReturnValue = UtilGetRegKey( REG_BLANK_TIME, m_dwBlankTime );
|
||||
if ( bReturnValue != 0 ) m_dwBlankTime = 5;
|
||||
|
||||
// Calculate the estimated blank time by adding the current time
|
||||
// and and the user specified time which is in minutes
|
||||
m_dwBlankTime = time(0) + (m_dwBlankTime * 60);
|
||||
|
||||
// Save the value back to the registry in case this is the first
|
||||
// execution and so we need the default value later.
|
||||
UtilSetRegKey( REG_BLANK_TIME, m_dwBlankTime );
|
||||
|
||||
// Calculate the estimated blank time by adding the current time
|
||||
// and and the user specified time which is in minutes
|
||||
m_dwBlankTime = time(0) + (m_dwBlankTime * 60);
|
||||
|
||||
|
||||
// Create the screen saver window(s)
|
||||
if( m_SaverMode == sm_preview ||
|
||||
|
|
Loading…
Reference in New Issue