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
9bdcfc5d
Commit
9bdcfc5d
authored
Nov 17, 2011
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Nov 17, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atl: Avoid harcoding array lengths.
parent
936d5351
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
atl_ax.c
dlls/atl/atl_ax.c
+1
-1
No files found.
dlls/atl/atl_ax.c
View file @
9bdcfc5d
...
@@ -1211,7 +1211,7 @@ static LPDLGTEMPLATEW AX_ConvertDialogTemplate(LPCDLGTEMPLATEW src_tmpl)
...
@@ -1211,7 +1211,7 @@ static LPDLGTEMPLATEW AX_ConvertDialogTemplate(LPCDLGTEMPLATEW src_tmpl)
src
+=
strlenW
(
src
)
+
1
;
/* title */
src
+=
strlenW
(
src
)
+
1
;
/* title */
if
(
GET_WORD
(
tmp
)
==
'{'
)
/* all this mess created because of this line */
if
(
GET_WORD
(
tmp
)
==
'{'
)
/* all this mess created because of this line */
{
{
static
const
WCHAR
AtlAxWin
[
9
]
=
{
'A'
,
't'
,
'l'
,
'A'
,
'x'
,
'W'
,
'i'
,
'n'
,
0
};
static
const
WCHAR
AtlAxWin
[
]
=
{
'A'
,
't'
,
'l'
,
'A'
,
'x'
,
'W'
,
'i'
,
'n'
,
0
};
PUT_BLOCK
(
AtlAxWin
,
sizeof
(
AtlAxWin
)
/
sizeof
(
WCHAR
));
PUT_BLOCK
(
AtlAxWin
,
sizeof
(
AtlAxWin
)
/
sizeof
(
WCHAR
));
PUT_BLOCK
(
tmp
,
strlenW
(
tmp
)
+
1
);
PUT_BLOCK
(
tmp
,
strlenW
(
tmp
)
+
1
);
}
else
}
else
...
...
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