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
9a04b754
Commit
9a04b754
authored
Oct 28, 2007
by
Stefan Leichter
Committed by
Alexandre Julliard
Oct 29, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advpack/tests: Print the unexpected result in function check_ini_contents.
parent
a8c66e9e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
files.c
dlls/advpack/tests/files.c
+9
-3
No files found.
dlls/advpack/tests/files.c
View file @
9a04b754
...
...
@@ -112,17 +112,23 @@ static BOOL check_ini_contents(LPSTR filename, BOOL add)
GetPrivateProfileStringA
(
"backup"
,
"one"
,
NULL
,
field
,
FIELD_LEN
,
filename
);
match
=
!
lstrcmpA
(
field
,
"-1,0,0,0,0,0,-1"
);
if
((
add
&&
!
match
)
||
(
!
add
&&
match
))
if
((
add
&&
!
match
)
||
(
!
add
&&
match
))
{
trace
(
"first test: got %s
\n
"
,
field
);
ret
=
FALSE
;
}
GetPrivateProfileStringA
(
"backup"
,
"two"
,
NULL
,
field
,
FIELD_LEN
,
filename
);
if
(
lstrcmpA
(
field
,
"-1,0,0,0,0,0,-1"
))
if
(
lstrcmpA
(
field
,
"-1,0,0,0,0,0,-1"
))
{
trace
(
"second test: got %s
\n
"
,
field
);
ret
=
FALSE
;
}
GetPrivateProfileStringA
(
"backup"
,
"three"
,
NULL
,
field
,
FIELD_LEN
,
filename
);
match
=
!
lstrcmpA
(
field
,
"-1,0,0,0,0,0,-1"
);
if
((
add
&&
!
match
)
||
(
!
add
&&
match
))
if
((
add
&&
!
match
)
||
(
!
add
&&
match
))
{
trace
(
"third test: got %s
\n
"
,
field
);
ret
=
FALSE
;
}
return
ret
;
}
...
...
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