oleaut32: Avoid hardcoding array lengths.

This commit is contained in:
Frédéric Delanoy 2011-11-22 23:00:38 +01:00 committed by Alexandre Julliard
parent 520a92de33
commit c55db752a2

View file

@ -6408,7 +6408,7 @@ static BSTR VARIANT_BstrReplaceDecimal(const WCHAR * buff, LCID lcid, ULONG dwFl
{ {
WCHAR *p; WCHAR *p;
WCHAR numbuff[256]; WCHAR numbuff[256];
WCHAR empty[1] = {'\0'}; WCHAR empty[] = {'\0'};
NUMBERFMTW minFormat; NUMBERFMTW minFormat;
minFormat.NumDigits = 0; minFormat.NumDigits = 0;