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
e5345825
Commit
e5345825
authored
Sep 14, 2017
by
Huw Davies
Committed by
Alexandre Julliard
Sep 14, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Don't special case the non-stretching case.
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9249f7c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
10 deletions
+3
-10
richole.c
dlls/riched20/richole.c
+3
-10
No files found.
dlls/riched20/richole.c
View file @
e5345825
...
...
@@ -5339,16 +5339,9 @@ void ME_DrawOLE(ME_Context *c, int x, int y, ME_Run *run, BOOL selected)
sz
.
cx
=
MulDiv
(
sz
.
cx
,
c
->
editor
->
nZoomNumerator
,
c
->
editor
->
nZoomDenominator
);
sz
.
cy
=
MulDiv
(
sz
.
cy
,
c
->
editor
->
nZoomNumerator
,
c
->
editor
->
nZoomDenominator
);
}
if
(
sz
.
cx
==
dibsect
.
dsBm
.
bmWidth
&&
sz
.
cy
==
dibsect
.
dsBm
.
bmHeight
)
{
BitBlt
(
c
->
hDC
,
x
,
y
-
sz
.
cy
,
dibsect
.
dsBm
.
bmWidth
,
dibsect
.
dsBm
.
bmHeight
,
hMemDC
,
0
,
0
,
SRCCOPY
);
}
else
{
StretchBlt
(
c
->
hDC
,
x
,
y
-
sz
.
cy
,
sz
.
cx
,
sz
.
cy
,
hMemDC
,
0
,
0
,
dibsect
.
dsBm
.
bmWidth
,
dibsect
.
dsBm
.
bmHeight
,
SRCCOPY
);
}
StretchBlt
(
c
->
hDC
,
x
,
y
-
sz
.
cy
,
sz
.
cx
,
sz
.
cy
,
hMemDC
,
0
,
0
,
dibsect
.
dsBm
.
bmWidth
,
dibsect
.
dsBm
.
bmHeight
,
SRCCOPY
);
SelectObject
(
hMemDC
,
old_bm
);
DeleteDC
(
hMemDC
);
break
;
...
...
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