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
118dc199
Commit
118dc199
authored
Oct 16, 2011
by
Marcus Meissner
Committed by
Alexandre Julliard
Oct 17, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Load PaddedBorderWidth from registry too (Coverity).
parent
aabe6e6f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
sysparams.c
dlls/user32/sysparams.c
+2
-0
No files found.
dlls/user32/sysparams.c
View file @
118dc199
...
@@ -254,6 +254,7 @@ static const WCHAR METRICS_MENUWIDTH_VALNAME[]= {'M','e','n','u','W','i','
...
@@ -254,6 +254,7 @@ static const WCHAR METRICS_MENUWIDTH_VALNAME[]= {'M','e','n','u','W','i','
static
const
WCHAR
METRICS_MENUHEIGHT_VALNAME
[]
=
{
'M'
,
'e'
,
'n'
,
'u'
,
'H'
,
'e'
,
'i'
,
'g'
,
'h'
,
't'
,
0
};
static
const
WCHAR
METRICS_MENUHEIGHT_VALNAME
[]
=
{
'M'
,
'e'
,
'n'
,
'u'
,
'H'
,
'e'
,
'i'
,
'g'
,
'h'
,
't'
,
0
};
static
const
WCHAR
METRICS_ICONSIZE_VALNAME
[]
=
{
'S'
,
'h'
,
'e'
,
'l'
,
'l'
,
' '
,
'I'
,
'c'
,
'o'
,
'n'
,
' '
,
'S'
,
'i'
,
'z'
,
'e'
,
0
};
static
const
WCHAR
METRICS_ICONSIZE_VALNAME
[]
=
{
'S'
,
'h'
,
'e'
,
'l'
,
'l'
,
' '
,
'I'
,
'c'
,
'o'
,
'n'
,
' '
,
'S'
,
'i'
,
'z'
,
'e'
,
0
};
static
const
WCHAR
METRICS_BORDERWIDTH_VALNAME
[]
=
{
'B'
,
'o'
,
'r'
,
'd'
,
'e'
,
'r'
,
'W'
,
'i'
,
'd'
,
't'
,
'h'
,
0
};
static
const
WCHAR
METRICS_BORDERWIDTH_VALNAME
[]
=
{
'B'
,
'o'
,
'r'
,
'd'
,
'e'
,
'r'
,
'W'
,
'i'
,
'd'
,
't'
,
'h'
,
0
};
static
const
WCHAR
METRICS_PADDEDBORDERWIDTH_VALNAME
[]
=
{
'P'
,
'a'
,
'd'
,
'd'
,
'e'
,
'd'
,
'B'
,
'o'
,
'r'
,
'd'
,
'e'
,
'r'
,
'W'
,
'i'
,
'd'
,
't'
,
'h'
,
0
};
static
const
WCHAR
METRICS_CAPTIONLOGFONT_VALNAME
[]
=
{
'C'
,
'a'
,
'p'
,
't'
,
'i'
,
'o'
,
'n'
,
'F'
,
'o'
,
'n'
,
't'
,
0
};
static
const
WCHAR
METRICS_CAPTIONLOGFONT_VALNAME
[]
=
{
'C'
,
'a'
,
'p'
,
't'
,
'i'
,
'o'
,
'n'
,
'F'
,
'o'
,
'n'
,
't'
,
0
};
static
const
WCHAR
METRICS_SMCAPTIONLOGFONT_VALNAME
[]
=
{
'S'
,
'm'
,
'C'
,
'a'
,
'p'
,
't'
,
'i'
,
'o'
,
'n'
,
'F'
,
'o'
,
'n'
,
't'
,
0
};
static
const
WCHAR
METRICS_SMCAPTIONLOGFONT_VALNAME
[]
=
{
'S'
,
'm'
,
'C'
,
'a'
,
'p'
,
't'
,
'i'
,
'o'
,
'n'
,
'F'
,
'o'
,
'n'
,
't'
,
0
};
static
const
WCHAR
METRICS_MENULOGFONT_VALNAME
[]
=
{
'M'
,
'e'
,
'n'
,
'u'
,
'F'
,
'o'
,
'n'
,
't'
,
0
};
static
const
WCHAR
METRICS_MENULOGFONT_VALNAME
[]
=
{
'M'
,
'e'
,
'n'
,
'u'
,
'F'
,
'o'
,
'n'
,
't'
,
0
};
...
@@ -1079,6 +1080,7 @@ static void load_nonclient_metrics(void)
...
@@ -1079,6 +1080,7 @@ static void load_nonclient_metrics(void)
ncm
.
iBorderWidth
=
get_reg_metric
(
hkey
,
METRICS_BORDERWIDTH_VALNAME
,
1
);
ncm
.
iBorderWidth
=
get_reg_metric
(
hkey
,
METRICS_BORDERWIDTH_VALNAME
,
1
);
ncm
.
iScrollWidth
=
get_reg_metric
(
hkey
,
METRICS_SCROLLWIDTH_VALNAME
,
16
);
ncm
.
iScrollWidth
=
get_reg_metric
(
hkey
,
METRICS_SCROLLWIDTH_VALNAME
,
16
);
ncm
.
iScrollHeight
=
get_reg_metric
(
hkey
,
METRICS_SCROLLHEIGHT_VALNAME
,
16
);
ncm
.
iScrollHeight
=
get_reg_metric
(
hkey
,
METRICS_SCROLLHEIGHT_VALNAME
,
16
);
ncm
.
iPaddedBorderWidth
=
get_reg_metric
(
hkey
,
METRICS_PADDEDBORDERWIDTH_VALNAME
,
0
);
/* size of the normal caption buttons */
/* size of the normal caption buttons */
ncm
.
iCaptionHeight
=
get_reg_metric
(
hkey
,
METRICS_CAPTIONHEIGHT_VALNAME
,
18
);
ncm
.
iCaptionHeight
=
get_reg_metric
(
hkey
,
METRICS_CAPTIONHEIGHT_VALNAME
,
18
);
...
...
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