From 8dd8d30b7d95a9ef44b0778fd0cb1a8a40f9bb13 Mon Sep 17 00:00:00 2001 From: Bertho Stultiens Date: Tue, 13 Jun 2000 03:37:31 +0000 Subject: [PATCH] Commented out IsBadWritePtr check. Makes winhlp32.exe happy in extended search. --- ole/ole2nls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ole/ole2nls.c b/ole/ole2nls.c index bc65ddfc6ba..fae0280c862 100644 --- a/ole/ole2nls.c +++ b/ole/ole2nls.c @@ -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';