msi/tests: Properly preserve pending file renames.

Hans Leidekker hans at codeweavers.com
Tue Sep 27 04:40:57 CDT 2011


---
 dlls/msi/tests/install.c |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/dlls/msi/tests/install.c b/dlls/msi/tests/install.c
index b1db7e4..da9a2c3 100644
--- a/dlls/msi/tests/install.c
+++ b/dlls/msi/tests/install.c
@@ -5600,12 +5600,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;
         }
 
-- 
1.7.5.4






More information about the wine-patches mailing list