mapi32: Fix some test failures on Win9x.

This commit is contained in:
Juan Lang 2009-02-02 10:20:19 -08:00 committed by Alexandre Julliard
parent 772a9b3540
commit 70c572feef
1 changed files with 2 additions and 1 deletions

View File

@ -151,7 +151,8 @@ static void test_CbOfEncoded(void)
memset(buff, '\0', sizeof(buff)); memset(buff, '\0', sizeof(buff));
memset(buff, '?', i); memset(buff, '?', i);
ulRet = pCbOfEncoded(buff); ulRet = pCbOfEncoded(buff);
ok(ulRet == ulExpected, "CbOfEncoded(length %d): expected %d, got %d\n", ok(ulRet == ulExpected || broken(ulExpected == 0) /* Win9x */,
"CbOfEncoded(length %d): expected %d, got %d\n",
i, ulExpected, ulRet); i, ulExpected, ulRet);
} }
} }