Alexandre Julliard : shlwapi/tests: Test if SHCreateStreamOnFileEx is present before using it.

Alexandre Julliard julliard at winehq.org
Fri Nov 8 10:36:50 CST 2013


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Nov  8 12:57:14 2013 +0100

shlwapi/tests: Test if SHCreateStreamOnFileEx is present before using it.

---

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

diff --git a/dlls/shlwapi/tests/istream.c b/dlls/shlwapi/tests/istream.c
index 760b847..9ea3def 100644
--- a/dlls/shlwapi/tests/istream.c
+++ b/dlls/shlwapi/tests/istream.c
@@ -759,5 +759,5 @@ START_TEST(istream)
         }
     }
 
-    test_SHCreateStreamOnFileEx_CopyTo();
+    if (pSHCreateStreamOnFileEx) test_SHCreateStreamOnFileEx_CopyTo();
 }




More information about the wine-cvs mailing list