Francois Gouget : shell32: Fix a couple of ASCII / ANSI mixups in comments.
Alexandre Julliard
julliard at winehq.org
Wed Sep 1 15:45:09 CDT 2021
Module: wine
Branch: master
Commit: c10d9d102c21a4c01f47afb5e8748a85338bdae4
URL: https://source.winehq.org/git/wine.git/?a=commit;h=c10d9d102c21a4c01f47afb5e8748a85338bdae4
Author: Francois Gouget <fgouget at free.fr>
Date: Wed Sep 1 09:30:08 2021 +0200
shell32: Fix a couple of ASCII / ANSI mixups in comments.
Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/shell32/shelllink.c | 2 +-
dlls/shell32/shellord.c | 2 +-
dlls/shell32/shlfileop.c | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/shell32/shelllink.c b/dlls/shell32/shelllink.c
index 2353ac3e56e..1a8eca3abe4 100644
--- a/dlls/shell32/shelllink.c
+++ b/dlls/shell32/shelllink.c
@@ -680,7 +680,7 @@ static HRESULT Stream_LoadLocation( IStream *stm,
*
* 0 Length of the block (4 bytes, usually 0x314)
* 4 tag (dword)
- * 8 string data in ASCII
+ * 8 string data in ANSI
* 8+0x104 string data in UNICODE
*
* In the original Win32 implementation the buffers are not initialized
diff --git a/dlls/shell32/shellord.c b/dlls/shell32/shellord.c
index e1262accdd8..639576ca50d 100644
--- a/dlls/shell32/shellord.c
+++ b/dlls/shell32/shellord.c
@@ -1,6 +1,6 @@
/*
* The parameters of many functions changes between different OS versions
- * (NT uses Unicode strings, 95 uses ASCII strings)
+ * (NT uses Unicode strings, 95 uses ANSI strings)
*
* Copyright 1997 Marcus Meissner
* 1998 Jürgen Schmied
diff --git a/dlls/shell32/shlfileop.c b/dlls/shell32/shlfileop.c
index 3726c61dfaa..ed66a1a555c 100644
--- a/dlls/shell32/shlfileop.c
+++ b/dlls/shell32/shlfileop.c
@@ -819,9 +819,9 @@ static DWORD SHFindAttrW(LPCWSTR pName, BOOL fileOnly)
*
* SHNameTranslate HelperFunction for SHFileOperationA
*
- * Translates a list of 0 terminated ASCII strings into Unicode. If *wString
+ * Translates a list of 0 terminated ANSI strings into Unicode. If *wString
* is NULL, only the necessary size of the string is determined and returned,
- * otherwise the ASCII strings are copied into it and the buffer is increased
+ * otherwise the ANSI strings are copied into it and the buffer is increased
* to point to the location after the final 0 termination char.
*/
static DWORD SHNameTranslate(LPWSTR* wString, LPCWSTR* pWToFrom, BOOL more)
More information about the wine-cvs
mailing list