[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] Bug in do_justify().

From: David Benbennick
Subject: Re: [Nano-devel] Bug in do_justify().
Date: Sun, 2 Feb 2003 18:31:55 -0500
User-agent: Mutt/

I just found a bug in do_justify().  Justify the attached test file, and
you get an assert error (if NDEBUG is not defined) or a mis-justified
paragraph (if asserts are not tested).  (Be sure to use "./nano -I" in an
80 column terminal.  The bug depends on the fill width.)

Here's a patch to fix it.

Attachment: testing
Description: Text document

Attachment: justify.patch
Description: Text document

Attachment: pgpMmlwf046bh.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]