riched20: Set control content in WM_CREATE message

Akihiro Sagawa sagawa.aki at gmail.com
Tue Oct 8 05:51:12 CDT 2013


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?

Regards,
Akihiro Sagawa




More information about the wine-devel mailing list