Ge van Geldorp : shell32/tests: Prevent crash on XP/W2K3.

Alexandre Julliard julliard at winehq.org
Fri Jan 16 07:41:53 CST 2009


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

Author: Ge van Geldorp <ge at gse.nl>
Date:   Thu Jan 15 13:07:41 2009 +0100

shell32/tests: Prevent crash on XP/W2K3.

---

 dlls/shell32/tests/shlfileop.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/shell32/tests/shlfileop.c b/dlls/shell32/tests/shlfileop.c
index e6d3287..433a131 100644
--- a/dlls/shell32/tests/shlfileop.c
+++ b/dlls/shell32/tests/shlfileop.c
@@ -513,7 +513,7 @@ static void test_delete(void)
     shfo.hwnd = NULL;
     shfo.wFunc = FO_DELETE;
     shfo.pFrom = buf;
-    shfo.pTo = "\0";
+    shfo.pTo = NULL;
     shfo.fFlags = FOF_FILESONLY | FOF_NOCONFIRMATION | FOF_SILENT;
     shfo.hNameMappings = NULL;
     shfo.lpszProgressTitle = NULL;




More information about the wine-cvs mailing list