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
09f0ea1c
Commit
09f0ea1c
authored
May 17, 2006
by
Marcus Meissner
Committed by
Alexandre Julliard
May 17, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Removed useless double casts, just print the DWORD hexmask.
parent
f224b34e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
editor.c
dlls/riched20/tests/editor.c
+6
-6
No files found.
dlls/riched20/tests/editor.c
View file @
09f0ea1c
...
...
@@ -386,8 +386,8 @@ static void test_EM_SETTEXTMODE(void)
/*Test that the two formattings are not the same*/
ok
((
cf2
.
dwMask
==
cf2test
.
dwMask
)
&&
(
cf2
.
dwEffects
!=
cf2test
.
dwEffects
),
"expected different formats - cf2.dwMask: %
f, cf2test.dwMask: %f, cf2.dwEffects: %f, cf2test.dwEffects: %f
\n
"
,
(
double
)
cf2
.
dwMask
,
(
double
)
cf2test
.
dwMask
,
(
double
)
cf2
.
dwEffects
,
(
double
)
cf2test
.
dwEffects
);
"expected different formats - cf2.dwMask: %
lx, cf2test.dwMask: %lx, cf2.dwEffects: %lx, cf2test.dwEffects: %lx
\n
"
,
cf2
.
dwMask
,
cf2test
.
dwMask
,
cf2
.
dwEffects
,
cf2test
.
dwEffects
);
DestroyWindow
(
hwndRichEdit
);
}
...
...
@@ -437,8 +437,8 @@ static void test_TM_PLAINTEXT()
/*Test that they are the same as plain text allows only one formatting*/
ok
((
cf2
.
dwMask
==
cf2test
.
dwMask
)
&&
(
cf2
.
dwEffects
==
cf2test
.
dwEffects
),
"two selections' formats differ - cf2.dwMask: %
f, cf2test.dwMask %f, cf2.dwEffects: %f, cf2test.dwEffects: %f
\n
"
,
(
double
)
cf2
.
dwMask
,
(
double
)
cf2test
.
dwMask
,
(
double
)
cf2
.
dwEffects
,
(
double
)
cf2test
.
dwEffects
);
"two selections' formats differ - cf2.dwMask: %
lx, cf2test.dwMask %lx, cf2.dwEffects: %lx, cf2test.dwEffects: %lx
\n
"
,
cf2
.
dwMask
,
cf2test
.
dwMask
,
cf2
.
dwEffects
,
cf2test
.
dwEffects
);
/*Fill the control with a "wine" string, which when inserted will be bold*/
...
...
@@ -489,8 +489,8 @@ static void test_TM_PLAINTEXT()
/*Compare the two formattings. They should be the same.*/
ok
((
cf2
.
dwMask
==
cf2test
.
dwMask
)
&&
(
cf2
.
dwEffects
==
cf2test
.
dwEffects
),
"Copied text retained formatting - cf2.dwMask: %
f, cf2test.dwMask: %f, cf2.dwEffects: %f, cf2test.dwEffects: %f
\n
"
,
(
double
)
cf2
.
dwMask
,
(
double
)
cf2test
.
dwMask
,
(
double
)
cf2
.
dwEffects
,
(
double
)
cf2test
.
dwEffects
);
"Copied text retained formatting - cf2.dwMask: %
lx, cf2test.dwMask: %lx, cf2.dwEffects: %lx, cf2test.dwEffects: %lx
\n
"
,
cf2
.
dwMask
,
cf2test
.
dwMask
,
cf2
.
dwEffects
,
cf2test
.
dwEffects
);
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