Paul Vriens : kernel32/tests: Add a forgotten if statement.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jul 9 10:24:54 CDT 2007


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

Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date:   Sat Jul  7 22:00:07 2007 +0200

kernel32/tests: Add a forgotten if statement.

---

 dlls/kernel32/tests/profile.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/kernel32/tests/profile.c b/dlls/kernel32/tests/profile.c
index b875134..8611c11 100644
--- a/dlls/kernel32/tests/profile.c
+++ b/dlls/kernel32/tests/profile.c
@@ -237,6 +237,7 @@ static void test_profile_sections_names(void)
     /* Test with sufficiently large buffer */
     SetLastError(0xdeadbeef);
     ret = GetPrivateProfileSectionNamesW( bufW, 29, testfile3W );
+    if (ret == 0 && (GetLastError() == ERROR_CALL_NOT_IMPLEMENTED))
     {
         skip("GetPrivateProfileSectionNamesW is not implemented\n");
         DeleteFileA( testfile3 );




More information about the wine-cvs mailing list