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
f1a624d5
Commit
f1a624d5
authored
Feb 27, 2002
by
Guy L. Albertelli
Committed by
Alexandre Julliard
Feb 27, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the strange case in WIN_FixCoordinates where x and cx are not
default but cy is CW_USEDEFAULT.
parent
b88b08c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
win.c
windows/win.c
+13
-0
No files found.
windows/win.c
View file @
f1a624d5
...
...
@@ -848,6 +848,19 @@ static void WIN_FixCoordinates( CREATESTRUCTA *cs, INT *sw)
}
}
}
else
{
/* neither x nor cx are default. Check the y values .
* In the trace we see Outlook and Outlook Express using
* cy set to CW_USEDEFAULT when opening the address book.
*/
if
(
cs
->
cy
==
CW_USEDEFAULT
||
cs
->
cy
==
CW_USEDEFAULT16
)
{
RECT
r
;
FIXME
(
"Strange use of CW_USEDEFAULT in nHeight
\n
"
);
SystemParametersInfoA
(
SPI_GETWORKAREA
,
0
,
&
r
,
0
);
cs
->
cy
=
(((
r
.
bottom
-
r
.
top
)
*
3
)
/
4
)
-
cs
->
y
;
}
}
}
/***********************************************************************
...
...
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