Bidi B2 - GetCharacterPlacement order array

Dimitrie O. Paun dpaun at rogers.com
Sat May 31 09:54:47 CDT 2003


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.




More information about the wine-devel mailing list