On Mon, 30 Sep 2002 14:50:35 -0700, Ron Clarke wrote: > Hi Glenn,
> On Sat, 28 Sep 2002 22:05:09 -0400, Glenn McCorkle wrote: <snip> >> *ALL* of that was on one line 1,108 characters long !!!!!!!! >> Here's the "quick-n-dirty fix"..... >> F4, F2 .... fixed. >> This does a line-wrap at the first `space' found past 541 characters. > Thanks for that Glenn. :) A useful tip to remember, and well > worth including in a "tips" page for the Arachne package. After all, > this one WASN'T altogether Arachne's fault. > But, why 541 characters ? Any particular reason for not choosing any > other number, such as (taken at random) 255 characters ? > Just curious. :) --- in ie.h (header file for the Internal Editor functions) --- #define IE_MAXLEN 600 //to handle longer cookies _____________ --- in ie_fce.c (1 of 4 Internal Editor SRC code files) --- if(radka[rpos]=='\n' || (radka[rpos]==' ' && rpos>9*IE_MAXLEN/10) || rpos>=IE_MAXLEN-1) _____________ So, the space must be at a position greater than 9*600/10=540 I don't know why it then won't wrap when a space is at 541 It must be at 542 or higher to get wrapped. Just as if the formula were.... (radka[rpos]==' ' && rpos>(9*IE_MAXLEN/10)+1) -- Glenn http://arachne.cz/ http://www.delorie.com/listserv/mime/ http://www.angelfire.com/id/glenndoom/download.htm http://www.thispagecannotbedisplayed.com/
