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
82bf2556
Commit
82bf2556
authored
May 21, 2019
by
Jacek Caban
Committed by
Alexandre Julliard
May 21, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Fix window size in IOleDocumentView::SetRect implementation.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ab5d9e43
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
view.c
dlls/mshtml/view.c
+2
-2
No files found.
dlls/mshtml/view.c
View file @
82bf2556
...
...
@@ -502,8 +502,8 @@ static HRESULT WINAPI OleDocumentView_SetRect(IOleDocumentView *iface, LPRECT pr
GetClientRect
(
This
->
hwnd
,
&
rect
);
if
(
!
EqualRect
(
prcView
,
&
rect
))
{
InvalidateRect
(
This
->
hwnd
,
NULL
,
TRUE
);
SetWindowPos
(
This
->
hwnd
,
NULL
,
prcView
->
left
,
prcView
->
top
,
prcView
->
right
,
prcView
->
bottom
,
SWP_NOZORDER
|
SWP_NOACTIVATE
);
SetWindowPos
(
This
->
hwnd
,
NULL
,
prcView
->
left
,
prcView
->
top
,
prcView
->
right
-
prcView
->
left
,
prcView
->
bottom
-
prcView
->
top
,
SWP_NOZORDER
|
SWP_NOACTIVATE
);
}
}
...
...
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