Module: wine Branch: master Commit: b6a152917126d0ed3d985e0866c56f691236de69 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b6a152917126d0ed3d985e0866...
Author: Joris Huizer jorishuizer@debian Date: Sat Mar 15 18:54:08 2008 +0100
qmgr/tests: Test the correct handle.
---
dlls/qmgr/tests/job.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/qmgr/tests/job.c b/dlls/qmgr/tests/job.c index cc64b0c..fe58fa3 100644 --- a/dlls/qmgr/tests/job.c +++ b/dlls/qmgr/tests/job.c @@ -319,7 +319,7 @@ static void compareFiles(WCHAR *n1, WCHAR *n2)
f2 = CreateFileW(n2, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); - ok(f1 != INVALID_HANDLE_VALUE, "CreateFile\n"); + ok(f2 != INVALID_HANDLE_VALUE, "CreateFile\n");
/* Neither of these files is very big */ ok(ReadFile(f1, b1, sizeof b1, &s1, NULL), "ReadFile\n");