mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Auto-determine base of DWORD registry entries.
Fixes bug 764. svn path=/trunk/; revision=17786
This commit is contained in:
parent
f913bdb378
commit
3276e52050
1 changed files with 1 additions and 1 deletions
|
@ -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) );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue