Hans Leidekker : msi/tests: Properly preserve pending file renames.

Alexandre Julliard julliard at winehq.org
Tue Sep 27 13:00:03 CDT 2011


Module: wine
Branch: master
Commit: 5ea1caa69e8784e33adafa1013bc007b5046f4ac
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5ea1caa69e8784e33adafa1013bc007b5046f4ac

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Tue Sep 27 11:40:57 2011 +0200

msi/tests: Properly preserve pending file renames.

---

 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 bb8335a..7c74e66 100644
--- a/dlls/msi/tests/install.c
+++ b/dlls/msi/tests/install.c
@@ -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;
         }
 




More information about the wine-cvs mailing list