Daniel Hulme wrote: > > The last patch I submitted introduced a less severe bug, in that if you > sent phosphor a line of the exact width, it would ignore all carriage > returns, not just the first one, so there was no way to have a line of > the exact width followed by a blank line. Please find attached a > corrected patch.
I don't think that patch quite works either. I think a simpler fix is to just always wrap one column earlier: - sprintf (program + strlen(program), oprogram, state->grid_width); + sprintf (program + strlen(program), oprogram, state->grid_width-1); -- Jamie Zawinski [EMAIL PROTECTED] http://www.jwz.org/ [EMAIL PROTECTED] http://www.dnalounge.com/ http://jwz.livejournal.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]