msi: Fix a typo (Coverity 910).
This commit is contained in:
parent
fccdccc378
commit
3956bb5b0e
|
@ -804,7 +804,7 @@ UINT MSIREG_OpenUserDataProductKey(LPCWSTR szProduct, MSIINSTALLCONTEXT dwContex
|
||||||
if (dwContext == MSIINSTALLCONTEXT_MACHINE)
|
if (dwContext == MSIINSTALLCONTEXT_MACHINE)
|
||||||
sprintfW(keypath, szUserDataProd_fmt, szLocalSid, squished_pc);
|
sprintfW(keypath, szUserDataProd_fmt, szLocalSid, squished_pc);
|
||||||
else if (szUserSid)
|
else if (szUserSid)
|
||||||
sprintfW(keypath, szUserDataProd_fmt, usersid, squished_pc);
|
sprintfW(keypath, szUserDataProd_fmt, szUserSid, squished_pc);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
rc = get_user_sid(&usersid);
|
rc = get_user_sid(&usersid);
|
||||||
|
|
Loading…
Reference in New Issue