Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
35dd5530
Commit
35dd5530
authored
Jul 22, 2014
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20/tests: Fix test on 64-bit.
parent
ac65c3fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
richole.c
dlls/riched20/tests/richole.c
+2
-7
No files found.
dlls/riched20/tests/richole.c
View file @
35dd5530
...
...
@@ -418,10 +418,7 @@ static void test_ITextSelection_GetText(void)
static
const
WCHAR
bufW4
[]
=
{
'T'
,
'e'
,
's'
,
't'
,
'S'
,
'o'
,
'm'
,
'e'
,
'T'
,
'e'
,
'x'
,
't'
,
'\r'
,
0
};
static
const
WCHAR
bufW5
[]
=
{
'\r'
,
0
};
SYSTEM_INFO
sysinfo
;
int
is64bit
;
GetSystemInfo
(
&
sysinfo
);
is64bit
=
(
sysinfo
.
wProcessorArchitecture
&
PROCESSOR_ARCHITECTURE_AMD64
);
BOOL
is64bit
=
sizeof
(
void
*
)
>
sizeof
(
int
);
create_interfaces
(
&
w
,
&
reOle
,
&
txtDoc
,
&
txtSel
);
SendMessageA
(
w
,
WM_SETTEXT
,
0
,
(
LPARAM
)
test_text1
);
...
...
@@ -446,9 +443,7 @@ static void test_ITextSelection_GetText(void)
ok
(
hres
==
S_OK
,
"ITextSelection_GetText
\n
"
);
ok
(
!
bstr
,
"got wrong text: %s
\n
"
,
wine_dbgstr_w
(
bstr
));
if
(
is64bit
)
win_skip
(
"native 64bit riched20 can't support a NULL parameter
\n
"
);
else
if
(
!
is64bit
)
{
hres
=
ITextSelection_GetText
(
txtSel
,
NULL
);
ok
(
hres
==
E_INVALIDARG
,
"ITextSelection_GetText
\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