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
2ccba1cf
Commit
2ccba1cf
authored
Nov 01, 2015
by
Bruno Jesus
Committed by
Alexandre Julliard
Nov 02, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvfw32: Derive frame dimension from bitmap info when not available.
Signed-off-by:
Bruno Jesus
<
00cpxxx@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5bc57faf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
drawdib.c
dlls/msvfw32/drawdib.c
+8
-1
No files found.
dlls/msvfw32/drawdib.c
View file @
2ccba1cf
...
...
@@ -347,7 +347,14 @@ BOOL VFWAPI DrawDibDraw(HDRAWDIB hdd, HDC hdc,
#undef CHANGED
if
((
dxDst
==
-
1
)
&&
(
dyDst
==
-
1
))
/* If source dimensions are not specified derive them from bitmap header */
if
(
dxSrc
==
-
1
&&
dySrc
==
-
1
)
{
dxSrc
=
lpbi
->
biWidth
;
dySrc
=
lpbi
->
biHeight
;
}
/* If destination dimensions are not specified derive them from source */
if
(
dxDst
==
-
1
&&
dyDst
==
-
1
)
{
dxDst
=
dxSrc
;
dyDst
=
dySrc
;
...
...
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