[PATCH] shlwapi: Tweak the wording of the _SHStrDupAToBSTR() documentation.

Francois Gouget fgouget at free.fr
Mon Aug 30 10:17:35 CDT 2021


This also fixes an ASCII / ANSI mixup.

Signed-off-by: Francois Gouget <fgouget at free.fr>
---
 dlls/shlwapi/string.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/shlwapi/string.c b/dlls/shlwapi/string.c
index e2c9c6af81f..fc565f45355 100644
--- a/dlls/shlwapi/string.c
+++ b/dlls/shlwapi/string.c
@@ -370,7 +370,7 @@ HRESULT WINAPI StrRetToStrW(LPSTRRET lpStrRet, const ITEMIDLIST *pidl, LPWSTR *p
   return hRet;
 }
 
-/* Create an ASCII string copy using SysAllocString() */
+/* Makes a Unicode copy of an ANSI string using SysAllocString() */
 static HRESULT _SHStrDupAToBSTR(LPCSTR src, BSTR *pBstrOut)
 {
     *pBstrOut = NULL;
-- 
2.30.2




More information about the wine-devel mailing list