Francois Gouget : shlwapi: Tweak the wording of the _SHStrDupAToBSTR() documentation.

Alexandre Julliard julliard at winehq.org
Mon Aug 30 15:53:53 CDT 2021


Module: wine
Branch: master
Commit: ab8b99daf4dcbd79f58e552c33f947530647657e
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=ab8b99daf4dcbd79f58e552c33f947530647657e

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Aug 30 17:17:35 2021 +0200

shlwapi: Tweak the wording of the _SHStrDupAToBSTR() documentation.

This also fixes an ASCII / ANSI mixup.

Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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;




More information about the wine-cvs mailing list