mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=5378
This commit is contained in:
parent
407077bedc
commit
fca21e5e1f
|
@ -1302,13 +1302,9 @@ int CScreensaver::UtilGetRegKey(LPCTSTR name, DWORD &keyval)
|
|||
LONG error;
|
||||
DWORD type = REG_DWORD;
|
||||
DWORD size = sizeof( DWORD );
|
||||
TCHAR str[2048];
|
||||
DWORD value;
|
||||
HKEY boinc_key;
|
||||
|
||||
StringCbCat( str, sizeof(str) / sizeof(TCHAR), _T("SOFTWARE\\Space Sciences Laboratory, U.C. Berkeley\\BOINC Screensaver\\") );
|
||||
StringCbCat( str, sizeof(str) / sizeof(TCHAR), name );
|
||||
|
||||
if ( m_bIs9x ) {
|
||||
error = RegOpenKeyEx(
|
||||
HKEY_LOCAL_MACHINE,
|
||||
|
|
Loading…
Reference in New Issue