mirror of https://github.com/BOINC/boinc.git
parent
1b94875dd7
commit
287e866cf6
|
@ -1,6 +1,5 @@
|
|||
#include <windows.h>
|
||||
#include "win_util.h"
|
||||
#include "util.h"
|
||||
|
||||
#define OS_UNKNOWN 0
|
||||
#define OS_WIN95 1
|
||||
|
@ -76,7 +75,7 @@ int UtilGetRegKey(char *name, DWORD &keyval)
|
|||
DWORD value;
|
||||
HKEY boinc_key;
|
||||
|
||||
safe_strncpy( str, "SOFTWARE\\BOINC\\", sizeof(str) );
|
||||
strncpy( str, "SOFTWARE\\BOINC\\", sizeof(str) );
|
||||
strcat( str, name );
|
||||
|
||||
if ( OSVersion == OS_WIN95 ) {
|
||||
|
|
Loading…
Reference in New Issue