Base of REG_DWORD entries must be auto-detected.
This commit is contained in:
parent
ade532a163
commit
748d23a7d4
|
@ -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) );
|
||||
}
|
||||
|
|
490
tools/wine.inf
490
tools/wine.inf
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue