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
954e6eba
Commit
954e6eba
authored
Nov 21, 2011
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Nov 22, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Avoid hardcoding array lengths.
parent
2e1c0d83
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ipaddress.c
dlls/comctl32/ipaddress.c
+1
-1
printdlg.c
dlls/comdlg32/printdlg.c
+1
-1
No files found.
dlls/comctl32/ipaddress.c
View file @
954e6eba
...
...
@@ -339,7 +339,7 @@ static BOOL IPADDRESS_SetRange (IPADDRESS_INFO *infoPtr, int index, WORD range)
static
void
IPADDRESS_ClearAddress
(
const
IPADDRESS_INFO
*
infoPtr
)
{
WCHAR
nil
[
1
]
=
{
0
};
static
const
WCHAR
nil
[
]
=
{
0
};
int
i
;
TRACE
(
"
\n
"
);
...
...
dlls/comdlg32/printdlg.c
View file @
954e6eba
...
...
@@ -2433,7 +2433,7 @@ static WCHAR get_decimal_sep(void)
if
(
!
sep
)
{
WCHAR
buf
[
2
]
=
{
'.'
,
0
};
WCHAR
buf
[
]
=
{
'.'
,
0
};
GetLocaleInfoW
(
LOCALE_USER_DEFAULT
,
LOCALE_SDECIMAL
,
buf
,
sizeof
(
buf
)
/
sizeof
(
buf
[
0
]));
sep
=
buf
[
0
];
}
...
...
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