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