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
eaad1cde
Commit
eaad1cde
authored
May 12, 2013
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 13, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Fix tics rectangle width/height.
parent
1776cbf4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
trackbar.c
dlls/comctl32/trackbar.c
+4
-4
No files found.
dlls/comctl32/trackbar.c
View file @
eaad1cde
...
...
@@ -499,12 +499,12 @@ TRACKBAR_DrawOneTic (const TRACKBAR_INFO *infoPtr, HDC hdc, LONG ticPos, int fla
offsetthumb
=
(
infoPtr
->
rcThumb
.
bottom
-
infoPtr
->
rcThumb
.
top
)
/
2
;
rcTics
.
left
=
infoPtr
->
rcThumb
.
left
-
2
;
rcTics
.
right
=
infoPtr
->
rcThumb
.
right
+
2
;
rcTics
.
top
=
infoPtr
->
rcChannel
.
top
+
offsetthumb
+
1
;
rcTics
.
bottom
=
infoPtr
->
rcChannel
.
bottom
-
offsetthumb
;
rcTics
.
top
=
infoPtr
->
rcChannel
.
top
+
offsetthumb
;
rcTics
.
bottom
=
infoPtr
->
rcChannel
.
bottom
-
offsetthumb
-
1
;
}
else
{
offsetthumb
=
(
infoPtr
->
rcThumb
.
right
-
infoPtr
->
rcThumb
.
left
)
/
2
;
rcTics
.
left
=
infoPtr
->
rcChannel
.
left
+
offsetthumb
+
1
;
rcTics
.
right
=
infoPtr
->
rcChannel
.
right
-
offsetthumb
;
rcTics
.
left
=
infoPtr
->
rcChannel
.
left
+
offsetthumb
;
rcTics
.
right
=
infoPtr
->
rcChannel
.
right
-
offsetthumb
-
1
;
rcTics
.
top
=
infoPtr
->
rcThumb
.
top
-
2
;
rcTics
.
bottom
=
infoPtr
->
rcThumb
.
bottom
+
2
;
}
...
...
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