riched20: Set control content in WM_CREATE message

Piotr Caban piotr at codeweavers.com
Tue Oct 8 06:13:43 CDT 2013


Hi Akihiro,

On 10/08/13 12:51, Akihiro Sagawa wrote:
> On Sat, 05 Oct 2013 14:54:07 +0200, Piotr Caban wrote:
>> +      if (!(editor->styleFlags & ES_MULTILINE))
>> +      {
>> +        len = 0;
>> +        while(textW[len] != '0' && textW[len] != '\r' && textW[len] != '\n')
>> +          len++;
>> +      }
>
> Although this patch has been committed as e660bf676c111ce20d9e868280094f1c5bb81c79,
> I doubt that it works properly. Did you mean '\0' or 0?
I meant to check for terminating null-character. I'll fix it.

Thanks,
Piotr




More information about the wine-devel mailing list