diff --git a/client/win/win_screensaver.cpp b/client/win/win_screensaver.cpp index 7fb788efb2..2f2267024e 100755 --- a/client/win/win_screensaver.cpp +++ b/client/win/win_screensaver.cpp @@ -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,