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
2ce5dba4
Commit
2ce5dba4
authored
Aug 19, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3/tests: Use the global wine_dbgstr_w instead of a local variant.
parent
ef5864fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
saxreader.c
dlls/msxml3/tests/saxreader.c
+1
-8
No files found.
dlls/msxml3/tests/saxreader.c
View file @
2ce5dba4
...
@@ -117,13 +117,6 @@ static content_handler_test contentHandlerTest2[] = {
...
@@ -117,13 +117,6 @@ static content_handler_test contentHandlerTest2[] = {
static
content_handler_test
*
expectCall
;
static
content_handler_test
*
expectCall
;
static
ISAXLocator
*
locator
;
static
ISAXLocator
*
locator
;
static
const
char
*
debugstr_wn
(
const
WCHAR
*
szStr
,
int
len
)
{
static
char
buf
[
1024
];
WideCharToMultiByte
(
CP_ACP
,
0
,
szStr
,
len
,
buf
,
sizeof
(
buf
),
NULL
,
NULL
);
return
buf
;
}
static
void
test_saxstr
(
unsigned
line
,
const
WCHAR
*
szStr
,
int
nStr
,
const
char
*
szTest
)
static
void
test_saxstr
(
unsigned
line
,
const
WCHAR
*
szStr
,
int
nStr
,
const
char
*
szTest
)
{
{
WCHAR
buf
[
1024
];
WCHAR
buf
[
1024
];
...
@@ -142,7 +135,7 @@ static void test_saxstr(unsigned line, const WCHAR *szStr, int nStr, const char
...
@@ -142,7 +135,7 @@ static void test_saxstr(unsigned line, const WCHAR *szStr, int nStr, const char
MultiByteToWideChar
(
CP_ACP
,
0
,
szTest
,
-
1
,
buf
,
sizeof
(
buf
)
/
sizeof
(
WCHAR
));
MultiByteToWideChar
(
CP_ACP
,
0
,
szTest
,
-
1
,
buf
,
sizeof
(
buf
)
/
sizeof
(
WCHAR
));
ok_
(
__FILE__
,
line
)
(
!
memcmp
(
szStr
,
buf
,
len
*
sizeof
(
WCHAR
)),
"unexpected szStr %s, expected %s
\n
"
,
ok_
(
__FILE__
,
line
)
(
!
memcmp
(
szStr
,
buf
,
len
*
sizeof
(
WCHAR
)),
"unexpected szStr %s, expected %s
\n
"
,
debu
gstr_wn
(
szStr
,
nStr
),
szTest
);
wine_db
gstr_wn
(
szStr
,
nStr
),
szTest
);
}
}
static
BOOL
test_expect_call
(
CH
id
)
static
BOOL
test_expect_call
(
CH
id
)
...
...
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