Commented out IsBadWritePtr check. Makes winhlp32.exe happy in

extended search.
This commit is contained in:
Bertho Stultiens 2000-06-13 03:37:31 +00:00 committed by Alexandre Julliard
parent aef4e15367
commit 8dd8d30b7d
1 changed files with 2 additions and 2 deletions

View File

@ -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';