From e7dd1068d45867512790d855a99431619248a22e Mon Sep 17 00:00:00 2001 From: George Williams Date: Mon, 10 Oct 2005 22:14:51 +0000 Subject: Someone sent me this patch. --- fondu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fondu.c') diff --git a/fondu.c b/fondu.c index 4881ca5..e6be788 100644 --- a/fondu.c +++ b/fondu.c @@ -499,13 +499,13 @@ static FOND *BuildFondList(FILE *f,long rlistpos,int subcnt,long rdata_pos, continue; /* this style doesn't exist */ format = stringoffsets[j]-1; strlen = strings[0][0]; - if ( format!=0 ) + if ( format!=0 && format!=-1 ) for ( k=0; kpsnames[j] = malloc(strlen+1); strcpy(pt,strings[ 0 ]+1); pt += strings[ 0 ][0]; - if ( format!=0 ) + if ( format!=0 && format!=-1 ) for ( k=0; k