31 May
2003
31 May
'03
9:54 a.m.
On May 31, 2003 05:45 am, Shachar Shemesh wrote:
+ /* Treat the case where no special handling was requested in a fastpath way */ + /* copy will do if the GCP_REORDER flag is not set */ + if (lpResults->lpOutString) + for (i = 0; i < nSet && lpString[i] != 0; ++i) + lpResults->lpOutString[i] = lpString[i];
What about a strncpy here: + if (lpResults->lpOutString) + strncpyW(lpResults->lpOutString, lpString, nSet); -- Dimi.