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
258d953a
Commit
258d953a
authored
Mar 04, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 05, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Use 1 unit caret width for Edit control.
parent
032356ec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
edit.c
dlls/user32/edit.c
+2
-2
No files found.
dlls/user32/edit.c
View file @
258d953a
...
@@ -3902,7 +3902,7 @@ static void EDIT_WM_SetFocus(EDITSTATE *es)
...
@@ -3902,7 +3902,7 @@ static void EDIT_WM_SetFocus(EDITSTATE *es)
ReleaseDC
(
es
->
hwndSelf
,
hdc
);
ReleaseDC
(
es
->
hwndSelf
,
hdc
);
}
}
CreateCaret
(
es
->
hwndSelf
,
0
,
2
,
es
->
line_height
);
CreateCaret
(
es
->
hwndSelf
,
0
,
1
,
es
->
line_height
);
EDIT_SetCaretPos
(
es
,
es
->
selection_end
,
EDIT_SetCaretPos
(
es
,
es
->
selection_end
,
es
->
flags
&
EF_AFTER_WRAP
);
es
->
flags
&
EF_AFTER_WRAP
);
ShowCaret
(
es
->
hwndSelf
);
ShowCaret
(
es
->
hwndSelf
);
...
@@ -3952,7 +3952,7 @@ static void EDIT_WM_SetFont(EDITSTATE *es, HFONT font, BOOL redraw)
...
@@ -3952,7 +3952,7 @@ static void EDIT_WM_SetFont(EDITSTATE *es, HFONT font, BOOL redraw)
EDIT_UpdateText
(
es
,
NULL
,
TRUE
);
EDIT_UpdateText
(
es
,
NULL
,
TRUE
);
if
(
es
->
flags
&
EF_FOCUSED
)
{
if
(
es
->
flags
&
EF_FOCUSED
)
{
DestroyCaret
();
DestroyCaret
();
CreateCaret
(
es
->
hwndSelf
,
0
,
2
,
es
->
line_height
);
CreateCaret
(
es
->
hwndSelf
,
0
,
1
,
es
->
line_height
);
EDIT_SetCaretPos
(
es
,
es
->
selection_end
,
EDIT_SetCaretPos
(
es
,
es
->
selection_end
,
es
->
flags
&
EF_AFTER_WRAP
);
es
->
flags
&
EF_AFTER_WRAP
);
ShowCaret
(
es
->
hwndSelf
);
ShowCaret
(
es
->
hwndSelf
);
...
...
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