oleaut32: Avoid hardcoding array lengths.
This commit is contained in:
parent
520a92de33
commit
c55db752a2
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user