Commit 8dd8d30b authored by Bertho Stultiens's avatar Bertho Stultiens Committed by Alexandre Julliard

Commented out IsBadWritePtr check. Makes winhlp32.exe happy in

extended search.
parent aef4e153
......@@ -2441,14 +2441,14 @@ INT WINAPI LCMapStringA(
SetLastError(ERROR_INSUFFICIENT_BUFFER);
return 0;
}
#if 0
/*FIXME the Pointercheck should not be nessesary */
if (IsBadWritePtr (dststr,room))
{ ERR_(string)("bad destination buffer (dststr) : %p,%d\n",dststr,dstlen);
SetLastError(ERROR_INSUFFICIENT_BUFFER);
return 0;
}
#endif
/* locate each component, write separators */
diacritic_component = dststr + 2*unicode_len ;
*diacritic_component++ = '\1';
......
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