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
c13fd6a4
Commit
c13fd6a4
authored
Sep 29, 2008
by
Dylan Smith
Committed by
Alexandre Julliard
Sep 30, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
richedit: Fixed test failure that happend on older builds of riched20.dll.
parent
83d92f41
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
editor.c
dlls/riched20/tests/editor.c
+9
-2
No files found.
dlls/riched20/tests/editor.c
View file @
c13fd6a4
...
...
@@ -1101,6 +1101,7 @@ static void test_SETPARAFORMAT(void)
HWND
hwndRichEdit
=
new_richedit
(
NULL
);
PARAFORMAT2
fmt
;
HRESULT
ret
;
LONG
expectedMask
=
PFM_ALL2
&
~
PFM_TABLEROWDELIMITER
;
fmt
.
cbSize
=
sizeof
(
PARAFORMAT2
);
fmt
.
dwMask
=
PFM_ALIGNMENT
;
fmt
.
wAlignment
=
PFA_LEFT
;
...
...
@@ -1111,8 +1112,14 @@ static void test_SETPARAFORMAT(void)
fmt
.
cbSize
=
sizeof
(
PARAFORMAT2
);
fmt
.
dwMask
=
-
1
;
ret
=
SendMessage
(
hwndRichEdit
,
EM_GETPARAFORMAT
,
0
,
(
LPARAM
)
&
fmt
);
ok
(
ret
==
PFM_ALL2
,
"expected %x got %x
\n
"
,
PFM_ALL2
,
ret
);
ok
(
fmt
.
dwMask
==
PFM_ALL2
,
"expected %x got %x
\n
"
,
PFM_ALL2
,
fmt
.
dwMask
);
/* Ignore the PFM_TABLEROWDELIMITER bit because it changes
* between richedit different native builds of riched20.dll
* used on different Windows versions. */
ret
&=
~
PFM_TABLEROWDELIMITER
;
fmt
.
dwMask
&=
~
PFM_TABLEROWDELIMITER
;
ok
(
ret
==
expectedMask
,
"expected %x got %x
\n
"
,
expectedMask
,
ret
);
ok
(
fmt
.
dwMask
==
expectedMask
,
"expected %x got %x
\n
"
,
expectedMask
,
fmt
.
dwMask
);
DestroyWindow
(
hwndRichEdit
);
}
...
...
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