Commented out IsBadWritePtr check. Makes winhlp32.exe happy in
extended search.
This commit is contained in:
parent
aef4e15367
commit
8dd8d30b7d
|
@ -2441,14 +2441,14 @@ INT WINAPI LCMapStringA(
|
||||||
SetLastError(ERROR_INSUFFICIENT_BUFFER);
|
SetLastError(ERROR_INSUFFICIENT_BUFFER);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#if 0
|
||||||
/*FIXME the Pointercheck should not be nessesary */
|
/*FIXME the Pointercheck should not be nessesary */
|
||||||
if (IsBadWritePtr (dststr,room))
|
if (IsBadWritePtr (dststr,room))
|
||||||
{ ERR_(string)("bad destination buffer (dststr) : %p,%d\n",dststr,dstlen);
|
{ ERR_(string)("bad destination buffer (dststr) : %p,%d\n",dststr,dstlen);
|
||||||
SetLastError(ERROR_INSUFFICIENT_BUFFER);
|
SetLastError(ERROR_INSUFFICIENT_BUFFER);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
/* locate each component, write separators */
|
/* locate each component, write separators */
|
||||||
diacritic_component = dststr + 2*unicode_len ;
|
diacritic_component = dststr + 2*unicode_len ;
|
||||||
*diacritic_component++ = '\1';
|
*diacritic_component++ = '\1';
|
||||||
|
|
Loading…
Reference in New Issue