- Fix RegSetValueEx parameters

- Found by Chris

svn path=/trunk/; revision=38006
This commit is contained in:
Johannes Anderwald 2008-12-11 09:05:19 +00:00
parent 193151855a
commit dbd198da9d

View file

@ -2179,7 +2179,7 @@ ProcessUnattendInf(HINF hUnattendedInf)
0,
REG_SZ,
(const BYTE*)szPath,
_tcslen(szPath) * sizeof(TCHAR)) == ERROR_SUCCESS)
(_tcslen(szPath)+1) * sizeof(TCHAR)) == ERROR_SUCCESS)
{
i++;
}
@ -2217,7 +2217,7 @@ ProcessUnattendInf(HINF hUnattendedInf)
0,
REG_SZ,
(const BYTE*)szPath,
strlen(szPath) * sizeof(char));
(strlen(szPath)+1) * sizeof(char));
/* winetests */