Correct an error where I was not properly advancing a pointer.

This commit is contained in:
Aric Stewart 2005-07-11 18:00:36 +00:00 committed by Alexandre Julliard
parent 2f7de4bcf9
commit de7a621b06
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ UINT WINAPI MsiSourceListGetInfoW( LPCWSTR szProduct, LPCWSTR szUserSid,
rc = RegQueryValueExW(sourcekey, INSTALLPROPERTY_LASTUSEDSOURCEstringW,
0, 0, (LPBYTE)buffer,&size);
ptr = strchrW(buffer,';');
ptr = strchrW(ptr,';');
if (ptr) ptr = strchrW(ptr+1,';');
if (!ptr)
rc = ERROR_UNKNOWN_PROPERTY;
else