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
a06c2570
Commit
a06c2570
authored
Jul 07, 2009
by
Andrew Eikum
Committed by
Alexandre Julliard
Jul 08, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Don't modify container list if container restoration fails.
parent
099f0310
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
graphics.c
dlls/gdiplus/graphics.c
+6
-3
No files found.
dlls/gdiplus/graphics.c
View file @
a06c2570
...
...
@@ -3400,7 +3400,7 @@ GpStatus WINGDIPAPI GdipComment(GpGraphics *graphics, UINT sizeData, GDIPCONST B
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipEndContainer
(
GpGraphics
*
graphics
,
Graphics
State
state
)
GpStatus
WINGDIPAPI
GdipEndContainer
(
GpGraphics
*
graphics
,
Graphics
Container
state
)
{
GpStatus
sts
;
GraphicsContainerItem
*
container
,
*
container2
;
...
...
@@ -3419,6 +3419,10 @@ GpStatus WINGDIPAPI GdipEndContainer(GpGraphics *graphics, GraphicsState state)
if
(
&
container
->
entry
==
&
graphics
->
containers
)
return
Ok
;
sts
=
restore_container
(
graphics
,
container
);
if
(
sts
!=
Ok
)
return
sts
;
/* remove all of the containers on top of the found container */
LIST_FOR_EACH_ENTRY_SAFE
(
container
,
container2
,
&
graphics
->
containers
,
GraphicsContainerItem
,
entry
){
if
(
container
->
contid
==
state
)
...
...
@@ -3428,10 +3432,9 @@ GpStatus WINGDIPAPI GdipEndContainer(GpGraphics *graphics, GraphicsState state)
}
list_remove
(
&
container
->
entry
);
sts
=
restore_container
(
graphics
,
container
);
delete_container
(
container
);
return
sts
;
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipScaleWorldTransform
(
GpGraphics
*
graphics
,
REAL
sx
,
...
...
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