Commit 77a8872f authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

oleaut32: Make constant 'szAccept' static.

parent 2e758ea8
...@@ -6522,7 +6522,7 @@ static HRESULT VARIANT_BstrFromReal(DOUBLE dblIn, LCID lcid, ULONG dwFlags, ...@@ -6522,7 +6522,7 @@ static HRESULT VARIANT_BstrFromReal(DOUBLE dblIn, LCID lcid, ULONG dwFlags,
*/ */
if (buff[0] == '-') if (buff[0] == '-')
{ {
const WCHAR szAccept[] = {'0', '.', '\0'}; static const WCHAR szAccept[] = {'0', '.', '\0'};
if (strlenW(buff + 1) == strspnW(buff + 1, szAccept)) if (strlenW(buff + 1) == strspnW(buff + 1, szAccept))
{ buff[0] = '0'; buff[1] = '\0'; } { buff[0] = '0'; buff[1] = '\0'; }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment