compile fix

svn path=/trunk/boinc/; revision=1100
This commit is contained in:
Eric Heien 2003-03-25 22:57:15 +00:00
parent 1b94875dd7
commit 287e866cf6
1 changed files with 1 additions and 2 deletions

View File

@ -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 ) {