Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
216a1b37
Commit
216a1b37
authored
Jan 01, 2008
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Jan 02, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winspool: Adjust the typo of a loop variable in test_EnumForms().
Simplify a test in test_GetPrinterDriver().
parent
02afd70f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
info.c
dlls/winspool.drv/tests/info.c
+2
-2
No files found.
dlls/winspool.drv/tests/info.c
View file @
216a1b37
...
...
@@ -768,7 +768,7 @@ static void test_EnumForms(LPSTR pName)
DWORD
pcbNeeded
;
DWORD
pcReturned
;
DWORD
level
;
INT
i
;
UINT
i
;
const
char
*
formtype
;
static
const
char
*
const
formtypes
[]
=
{
"FORM_USER"
,
"FORM_BUILTIN"
,
"FORM_PRINTER"
,
"FORM_flag_unknown"
};
#define FORMTYPE_MAX 2
...
...
@@ -2115,7 +2115,7 @@ static void test_GetPrinterDriver(void)
/* MSDN is wrong: The Drivers on the win9x-CD's have cVersion=0x0400
NT351: 1, NT4.0+w2k(Kernelmode): 2, w2k and above(Usermode): 3 */
ok
(
(
di_2
->
cVersion
>=
0
&&
di_2
->
cVersion
<=
3
)
||
ok
(
(
di_2
->
cVersion
<=
3
)
||
(
di_2
->
cVersion
==
0x0400
),
"di_2->cVersion = %d
\n
"
,
di_2
->
cVersion
);
ok
(
di_2
->
pName
!=
NULL
,
"not expected NULL ptr
\n
"
);
ok
(
di_2
->
pEnvironment
!=
NULL
,
"not expected NULL ptr
\n
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment