[PATCH] avifil32: Fix a ASCII / ANSI mixup in comments.
Francois Gouget
fgouget at free.fr
Sun Aug 22 11:17:18 CDT 2021
Signed-off-by: Francois Gouget <fgouget at free.fr>
---
dlls/avifil32/api.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/avifil32/api.c b/dlls/avifil32/api.c
index 5a9985424e7..0494bfc59e4 100644
--- a/dlls/avifil32/api.c
+++ b/dlls/avifil32/api.c
@@ -203,7 +203,7 @@ HRESULT WINAPI AVIFileOpenA(PAVIFILE *ppfile, LPCSTR szFile, UINT uMode,
if (ppfile == NULL || szFile == NULL)
return AVIERR_BADPARAM;
- /* convert ASCII string to Unicode and call unicode function */
+ /* convert the ANSI string to Unicode and call the Unicode function */
len = MultiByteToWideChar(CP_ACP, 0, szFile, -1, NULL, 0);
if (len <= 0)
return AVIERR_BADPARAM;
@@ -1515,7 +1515,7 @@ HRESULT WINAPI AVISaveVA(LPCSTR szFile, CLSID *pclsidHandler,
if (szFile == NULL || ppavi == NULL || plpOptions == NULL)
return AVIERR_BADPARAM;
- /* convert ASCII string to Unicode and call Unicode function */
+ /* convert the ANSI string to Unicode and call the Unicode function */
len = MultiByteToWideChar(CP_ACP, 0, szFile, -1, NULL, 0);
if (len <= 0)
return AVIERR_BADPARAM;
--
2.20.1
More information about the wine-devel
mailing list