oleaut32: Avoid harcoding array lengths
Frédéric Delanoy
frederic.delanoy at gmail.com
Tue Nov 22 16:00:38 CST 2011
---
dlls/oleaut32/vartype.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/oleaut32/vartype.c b/dlls/oleaut32/vartype.c
index 2ab5438..9810d35 100644
--- a/dlls/oleaut32/vartype.c
+++ b/dlls/oleaut32/vartype.c
@@ -6408,7 +6408,7 @@ static BSTR VARIANT_BstrReplaceDecimal(const WCHAR * buff, LCID lcid, ULONG dwFl
{
WCHAR *p;
WCHAR numbuff[256];
- WCHAR empty[1] = {'\0'};
+ WCHAR empty[] = {'\0'};
NUMBERFMTW minFormat;
minFormat.NumDigits = 0;
--
1.7.7.2
More information about the wine-patches
mailing list