From af88f578abbb0804f05d8b41dc1f7838a3415ef8 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 20 Jan 1999 14:13:02 +0000 Subject: [PATCH] LCMapStringA: if dstlen is insufficient, return ERROR_INSUFFICIENT_BUFFER (verified). --- ole/ole2nls.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/ole/ole2nls.c b/ole/ole2nls.c index 82059ed49d1..4660a1779d7 100644 --- a/ole/ole2nls.c +++ b/ole/ole2nls.c @@ -2042,9 +2042,10 @@ INT32 WINAPI LCMapString32A( if (dstlen==0) return srclen; /* dstlen=0 means "do nothing but return required length" */ - if (dstlen