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
e7173dfa
Commit
e7173dfa
authored
Feb 25, 2008
by
Rob Shearman
Committed by
Alexandre Julliard
Feb 25, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avifil32: Fix the character count passed into LoadStringW in AVIBuildFilterW and…
avifil32: Fix the character count passed into LoadStringW in AVIBuildFilterW and AVISaveOptionsUpdate.
parent
18d89198
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
api.c
dlls/avifil32/api.c
+3
-2
No files found.
dlls/avifil32/api.c
View file @
e7173dfa
...
...
@@ -1148,7 +1148,7 @@ HRESULT WINAPI AVIBuildFilterW(LPWSTR szFilter, LONG cbFilter, BOOL fSaving)
/* add "All files" "*.*" filter if enough space left */
size
=
LoadStringW
(
AVIFILE_hModule
,
IDS_ALLFILES
,
szAllFiles
,
sizeof
(
szAllFiles
))
+
1
;
szAllFiles
,
sizeof
(
szAllFiles
)
/
sizeof
(
szAllFiles
[
0
])
)
+
1
;
if
(
cbFilter
>
size
)
{
int
i
;
...
...
@@ -1336,7 +1336,8 @@ static void AVISaveOptionsUpdate(HWND hWnd)
}
}
else
{
LoadStringW
(
AVIFILE_hModule
,
IDS_UNCOMPRESSED
,
icinfo
.
szDescription
,
sizeof
(
icinfo
.
szDescription
));
icinfo
.
szDescription
,
sizeof
(
icinfo
.
szDescription
)
/
sizeof
(
icinfo
.
szDescription
[
0
]));
lstrcatW
(
szFormat
,
icinfo
.
szDescription
);
}
}
else
if
(
sInfo
.
fccType
==
streamtypeAUDIO
)
{
...
...
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