[ros-diffs] [gvg] 17786: Auto-determine base of DWORD registry
entries.
gvg at svn.reactos.com
gvg at svn.reactos.com
Sat Sep 10 21:21:58 CEST 2005
Auto-determine base of DWORD registry entries.
Fixes bug 764.
Modified: trunk/reactos/lib/setupapi/install.c
_____
Modified: trunk/reactos/lib/setupapi/install.c
--- trunk/reactos/lib/setupapi/install.c 2005-09-10 19:01:44 UTC
(rev 17785)
+++ trunk/reactos/lib/setupapi/install.c 2005-09-10 19:21:49 UTC
(rev 17786)
@@ -334,7 +334,7 @@
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) );
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050910/a1f4b456/attachment.html
More information about the Ros-diffs
mailing list