Base of REG_DWORD entries must be auto-detected.

This commit is contained in:
Ge van Geldorp 2005-09-14 11:15:58 +00:00 committed by Alexandre Julliard
parent ade532a163
commit 748d23a7d4
2 changed files with 246 additions and 246 deletions

View File

@ -334,7 +334,7 @@ static BOOL do_reg_operation( HKEY hkey, const WCHAR *value, INFCONTEXT *context
if (type == REG_DWORD)
{
DWORD dw = str ? strtoulW( str, NULL, 16 ) : 0;
DWORD dw = str ? strtoulW( str, NULL, 0 ) : 0;
TRACE( "setting dword %s to %lx\n", debugstr_w(value), dw );
RegSetValueExW( hkey, value, 0, type, (BYTE *)&dw, sizeof(dw) );
}

File diff suppressed because it is too large Load Diff