[PATCH] shell32: Fix a couple of ASCII / ANSI mixups in comments.

Francois Gouget fgouget at free.fr
Mon Aug 30 10:16:01 CDT 2021


Signed-off-by: Francois Gouget <fgouget at free.fr>
---
 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)
-- 
2.30.2




More information about the wine-devel mailing list