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
df0168d8
Commit
df0168d8
authored
Jan 18, 2009
by
Ge van Geldorp
Committed by
Alexandre Julliard
Jan 19, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Save iSmCaptionWidth for later testing.
parent
c160b944
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
sysparams.c
dlls/user32/tests/sysparams.c
+2
-1
No files found.
dlls/user32/tests/sysparams.c
View file @
df0168d8
...
...
@@ -1353,6 +1353,7 @@ static int get_tmheight( LOGFONTA *plf, int flag)
}
static
void
test_GetSystemMetrics
(
void
);
static
UINT
smcxsmsize
=
999999999
;
static
void
test_SPI_SETNONCLIENTMETRICS
(
void
)
/* 44 */
{
...
...
@@ -1374,6 +1375,7 @@ static void test_SPI_SETNONCLIENTMETRICS( void ) /* 44 */
if
(
!
test_error_msg
(
rc
,
"SPI_{GET,SET}NONCLIENTMETRICS"
))
return
;
Ncmstart
=
Ncmorig
;
smcxsmsize
=
Ncmstart
.
iSmCaptionWidth
;
/* SPI_GETNONCLIENTMETRICS returns some "cooked" values. For instance if
the caption font height is higher than the CaptionHeight field,
the latter is adjusted accordingly. To be able to restore these setting
...
...
@@ -2437,7 +2439,6 @@ static void get_text_metr_size( HDC hdc, LOGFONTA *plf, TEXTMETRICA * ptm, UINT
}
static
int
gsm_error_ctr
;
static
UINT
smcxsmsize
=
999999999
;
#define ok_gsm( i, e)\
{\
...
...
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