Commit ecfc3f15 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

msxml3: Make line endings fix helper faster using BSTR stored length.

parent 8a6210d2
......@@ -903,7 +903,7 @@ static BSTR EnsureCorrectEOL(BSTR sInput)
int nLen;
int i;
nLen = lstrlenW(sInput);
nLen = SysStringLen(sInput);
/* Count line endings */
for(i=0; i < nLen; i++)
{
......@@ -935,7 +935,7 @@ static BSTR EnsureCorrectEOL(BSTR sInput)
sNew = sInput;
}
TRACE("len %d\n", lstrlenW(sNew));
TRACE("len %d\n", SysStringLen(sNew));
return sNew;
}
......
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