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
2d8ad31e
Commit
2d8ad31e
authored
Aug 09, 2011
by
Owen Rudge
Committed by
Alexandre Julliard
Aug 22, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Fix incorrect use of border metrics.
parent
68f3d21f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
toolbar.c
dlls/comctl32/toolbar.c
+2
-2
No files found.
dlls/comctl32/toolbar.c
View file @
2d8ad31e
...
@@ -3066,8 +3066,8 @@ TOOLBAR_AutoSize (TOOLBAR_INFO *infoPtr)
...
@@ -3066,8 +3066,8 @@ TOOLBAR_AutoSize (TOOLBAR_INFO *infoPtr)
if
(
infoPtr
->
dwStyle
&
WS_BORDER
)
if
(
infoPtr
->
dwStyle
&
WS_BORDER
)
{
{
c
y
+=
2
*
GetSystemMetrics
(
SM_CXBORDER
);
c
x
+=
2
*
GetSystemMetrics
(
SM_CXBORDER
);
c
x
+=
2
*
GetSystemMetrics
(
SM_CYBORDER
);
c
y
+=
2
*
GetSystemMetrics
(
SM_CYBORDER
);
}
}
SetWindowPos
(
infoPtr
->
hwndSelf
,
NULL
,
x
,
y
,
cx
,
cy
,
uPosFlags
);
SetWindowPos
(
infoPtr
->
hwndSelf
,
NULL
,
x
,
y
,
cx
,
cy
,
uPosFlags
);
...
...
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