nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 2c31540fa9142a29619bff7788b60f115f3bef75
parent fd9da07e6c07c43ef34529410aa4869390c0d8e8
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Mon,  8 Nov 2004 03:19:10 +0000

improve assertion


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2087 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
Msrc/nano.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nano.c b/src/nano.c @@ -672,7 +672,7 @@ partition *partition_filestruct(filestruct *top, size_t top_x, void unpartition_filestruct(partition *p) { char *tmp; - assert(p != NULL); + assert(p != NULL && fileage != NULL && filebot != NULL); /* Reattach the line above the top of the partition, and restore the * text before top_x from top_data. Free top_data when we're done