From ab8b99daf4dcbd79f58e552c33f947530647657e Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Mon, 30 Aug 2021 17:17:35 +0200 Subject: [PATCH] shlwapi: Tweak the wording of the _SHStrDupAToBSTR() documentation. This also fixes an ASCII / ANSI mixup. Signed-off-by: Francois Gouget Signed-off-by: Alexandre Julliard --- 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;