msi/tests: Properly preserve pending file renames.

This commit is contained in:
Hans Leidekker 2011-09-27 11:40:57 +02:00 committed by Alexandre Julliard
parent 85e9e21929
commit 5ea1caa69e
1 changed files with 2 additions and 6 deletions

View File

@ -5598,12 +5598,8 @@ static void process_pending_renames(HKEY hkey)
{
lstrcpyA(buf2ptr, src);
buf2ptr += strlen(src) + 1;
if (*dst)
{
lstrcpyA(buf2ptr, dst);
buf2ptr += strlen(dst) + 1;
}
buf2ptr++;
lstrcpyA(buf2ptr, dst);
buf2ptr += strlen(dst) + 1;
continue;
}