Text handling broke.
gerard patel
nomailthankyoug.patel at wanadoo.fr
Mon Feb 5 07:11:10 CST 2001
On Mon, 5 Feb 2001 10:05:19 +0800, "Dmitry Timoshkov"
<dmitry at news.sloboda.ru> wrote:
>+ else /* Append 0 if enough space */
>+ {
>+ memcpy(dst, src, line_len * sizeof(WCHAR));
>+ dst[line_len] = 0;
>+ return line_len;
I checked it under Windows and the doc is not completely
wrong ;-). The additional 0 is appended only when the
control is not multiline. When it's multiline (when the
EM_GETLINE message is supposed to be used), the
documented behaviour (no trailing 0) holds.
Gerard
More information about the wine-users
mailing list