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
f1a0cb0b
Commit
f1a0cb0b
authored
Jul 26, 2018
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Aug 14, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msrle32: Use the ARRAY_SIZE() macro.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
469c4978
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
msrle32.c
dlls/msrle32/msrle32.c
+4
-4
No files found.
dlls/msrle32/msrle32.c
View file @
f1a0cb0b
...
...
@@ -1183,8 +1183,8 @@ static LRESULT GetInfo(const CodecInfo *pi, ICINFO *icinfo, DWORD dwSize)
icinfo
->
dwVersion
=
ICVERSION
;
icinfo
->
dwVersionICM
=
ICVERSION
;
LoadStringW
(
MSRLE32_hModule
,
IDS_NAME
,
icinfo
->
szName
,
sizeof
(
icinfo
->
szName
)
/
sizeof
(
WCHAR
));
LoadStringW
(
MSRLE32_hModule
,
IDS_DESCRIPTION
,
icinfo
->
szDescription
,
sizeof
(
icinfo
->
szDescription
)
/
sizeof
(
WCHAR
));
LoadStringW
(
MSRLE32_hModule
,
IDS_NAME
,
icinfo
->
szName
,
ARRAY_SIZE
(
icinfo
->
szName
));
LoadStringW
(
MSRLE32_hModule
,
IDS_DESCRIPTION
,
icinfo
->
szDescription
,
ARRAY_SIZE
(
icinfo
->
szDescription
));
return
sizeof
(
ICINFO
);
}
...
...
@@ -1206,8 +1206,8 @@ static LRESULT About(CodecInfo *pi, HWND hWnd)
/* pre-condition */
assert
(
MSRLE32_hModule
!=
0
);
LoadStringW
(
MSRLE32_hModule
,
IDS_NAME
,
szTitle
,
sizeof
(
szTitle
)
/
sizeof
(
szTitle
[
0
]
));
LoadStringW
(
MSRLE32_hModule
,
IDS_ABOUT
,
szAbout
,
sizeof
(
szAbout
)
/
sizeof
(
szAbout
[
0
]
));
LoadStringW
(
MSRLE32_hModule
,
IDS_NAME
,
szTitle
,
ARRAY_SIZE
(
szTitle
));
LoadStringW
(
MSRLE32_hModule
,
IDS_ABOUT
,
szAbout
,
ARRAY_SIZE
(
szAbout
));
MessageBoxW
(
hWnd
,
szAbout
,
szTitle
,
MB_OK
|
MB_ICONINFORMATION
);
...
...
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