commit 6299b0d752eb3e114c7e4892cdfa3d058dc6f440
parent 2c31540fa9142a29619bff7788b60f115f3bef75
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Mon, 8 Nov 2004 03:22:23 +0000
improve another assertion
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2088 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/nano.c b/src/nano.c
@@ -621,7 +621,7 @@ partition *partition_filestruct(filestruct *top, size_t top_x,
filestruct *bot, size_t bot_x)
{
partition *p;
- assert(top != NULL && bot != NULL);
+ assert(top != NULL && bot != NULL && fileage != NULL && filebot != NULL);
/* Initialize the partition. */
p = (partition *)nmalloc(sizeof(partition));