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
618425ac
Commit
618425ac
authored
Jan 04, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Fix skipping of zero-length dashes.
parent
fd8597b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
objects.c
dlls/gdi32/dibdrv/objects.c
+2
-1
No files found.
dlls/gdi32/dibdrv/objects.c
View file @
618425ac
...
...
@@ -779,7 +779,7 @@ void reset_dash_origin(dibdrv_physdev *pdev)
static
inline
void
skip_dash
(
dibdrv_physdev
*
pdev
,
unsigned
int
skip
)
{
skip
%=
pdev
->
pen_pattern
.
total_len
;
while
(
skip
)
do
{
if
(
pdev
->
dash_pos
.
left_in_dash
>
skip
)
{
...
...
@@ -792,6 +792,7 @@ static inline void skip_dash(dibdrv_physdev *pdev, unsigned int skip)
pdev
->
dash_pos
.
left_in_dash
=
pdev
->
pen_pattern
.
dashes
[
pdev
->
dash_pos
.
cur_dash
];
pdev
->
dash_pos
.
mark
=
!
pdev
->
dash_pos
.
mark
;
}
while
(
skip
);
}
static
void
dashed_pen_line_callback
(
dibdrv_physdev
*
pdev
,
INT
x
,
INT
y
)
...
...
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