msi: Fix a typo (Coverity 910).

This commit is contained in:
James Hawkins 2009-03-22 14:29:51 -07:00 committed by Alexandre Julliard
parent fccdccc378
commit 3956bb5b0e
1 changed files with 1 additions and 1 deletions

View File

@ -804,7 +804,7 @@ UINT MSIREG_OpenUserDataProductKey(LPCWSTR szProduct, MSIINSTALLCONTEXT dwContex
if (dwContext == MSIINSTALLCONTEXT_MACHINE)
sprintfW(keypath, szUserDataProd_fmt, szLocalSid, squished_pc);
else if (szUserSid)
sprintfW(keypath, szUserDataProd_fmt, usersid, squished_pc);
sprintfW(keypath, szUserDataProd_fmt, szUserSid, squished_pc);
else
{
rc = get_user_sid(&usersid);