[PATCH] oleaut32: Use a string literal for an empty string.
Michael Stefaniuc
mstefani at winehq.org
Wed Dec 2 17:32:49 CST 2020
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
dlls/oleaut32/vartype.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/oleaut32/vartype.c b/dlls/oleaut32/vartype.c
index 98b9762d896..6793de317ac 100644
--- a/dlls/oleaut32/vartype.c
+++ b/dlls/oleaut32/vartype.c
@@ -6469,7 +6469,7 @@ static BSTR VARIANT_BstrReplaceDecimal(const WCHAR * buff, LCID lcid, ULONG dwFl
{
WCHAR *p;
WCHAR numbuff[256];
- WCHAR empty[] = {'\0'};
+ WCHAR empty[] = L"";
NUMBERFMTW minFormat;
minFormat.NumDigits = 0;
--
2.26.2
More information about the wine-devel
mailing list