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
e5b3a693
Commit
e5b3a693
authored
Apr 14, 2000
by
Huw D M Davies
Committed by
Alexandre Julliard
Apr 14, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't close groups of polylines.
parent
a76eee94
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
graphics.c
graphics/x11drv/graphics.c
+2
-3
No files found.
graphics/x11drv/graphics.c
View file @
e5b3a693
...
...
@@ -1120,7 +1120,7 @@ X11DRV_PolyPolyline( DC *dc, const POINT* pt, const DWORD* counts, DWORD polylin
X11DRV_DIB_UpdateDIBSection
(
dc
,
FALSE
);
for
(
i
=
0
;
i
<
polylines
;
i
++
)
if
(
counts
[
i
]
>
max
)
max
=
counts
[
i
];
if
(
!
(
points
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
XPoint
)
*
(
max
+
1
)
)))
if
(
!
(
points
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
XPoint
)
*
max
)))
{
WARN
(
"No memory to convert POINTs to XPoints!
\n
"
);
return
FALSE
;
...
...
@@ -1133,9 +1133,8 @@ X11DRV_PolyPolyline( DC *dc, const POINT* pt, const DWORD* counts, DWORD polylin
points
[
j
].
y
=
dc
->
w
.
DCOrgY
+
YLPTODP
(
dc
,
pt
->
y
);
pt
++
;
}
points
[
j
]
=
points
[
0
];
TSXDrawLines
(
display
,
physDev
->
drawable
,
physDev
->
gc
,
points
,
j
+
1
,
CoordModeOrigin
);
points
,
j
,
CoordModeOrigin
);
}
/* Update the DIBSection of the dc's bitmap */
...
...
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