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
9d2da7fa
Commit
9d2da7fa
authored
Sep 26, 2011
by
Dylan Smith
Committed by
Alexandre Julliard
Sep 26, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20/tests: Remove unnecessary SetFocus calls.
parent
fdb2bc4b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
editor.c
dlls/riched20/tests/editor.c
+0
-2
No files found.
dlls/riched20/tests/editor.c
View file @
9d2da7fa
...
@@ -1541,7 +1541,6 @@ static void test_EM_SETOPTIONS(void)
...
@@ -1541,7 +1541,6 @@ static void test_EM_SETOPTIONS(void)
SendMessage
(
hwndRichEdit
,
EM_SETOPTIONS
,
ECOOP_SET
,
0
);
SendMessage
(
hwndRichEdit
,
EM_SETOPTIONS
,
ECOOP_SET
,
0
);
/* testing no readonly by sending 'a' to the control*/
/* testing no readonly by sending 'a' to the control*/
SetFocus
(
hwndRichEdit
);
SendMessage
(
hwndRichEdit
,
WM_CHAR
,
'a'
,
0x1E0001
);
SendMessage
(
hwndRichEdit
,
WM_CHAR
,
'a'
,
0x1E0001
);
SendMessage
(
hwndRichEdit
,
WM_GETTEXT
,
1024
,
(
LPARAM
)
buffer
);
SendMessage
(
hwndRichEdit
,
WM_GETTEXT
,
1024
,
(
LPARAM
)
buffer
);
ok
(
buffer
[
0
]
==
'a'
,
ok
(
buffer
[
0
]
==
'a'
,
...
@@ -1551,7 +1550,6 @@ static void test_EM_SETOPTIONS(void)
...
@@ -1551,7 +1550,6 @@ static void test_EM_SETOPTIONS(void)
/* READONLY - sending 'a' to the control */
/* READONLY - sending 'a' to the control */
SendMessage
(
hwndRichEdit
,
WM_SETTEXT
,
0
,
(
LPARAM
)
text
);
SendMessage
(
hwndRichEdit
,
WM_SETTEXT
,
0
,
(
LPARAM
)
text
);
SendMessage
(
hwndRichEdit
,
EM_SETOPTIONS
,
ECOOP_SET
,
ECO_READONLY
);
SendMessage
(
hwndRichEdit
,
EM_SETOPTIONS
,
ECOOP_SET
,
ECO_READONLY
);
SetFocus
(
hwndRichEdit
);
SendMessage
(
hwndRichEdit
,
WM_CHAR
,
'a'
,
0x1E0001
);
SendMessage
(
hwndRichEdit
,
WM_CHAR
,
'a'
,
0x1E0001
);
SendMessage
(
hwndRichEdit
,
WM_GETTEXT
,
1024
,
(
LPARAM
)
buffer
);
SendMessage
(
hwndRichEdit
,
WM_GETTEXT
,
1024
,
(
LPARAM
)
buffer
);
ok
(
buffer
[
0
]
==
text
[
0
],
ok
(
buffer
[
0
]
==
text
[
0
],
...
...
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