Adjust array size to fit all csv params

Back in e544796199 ("Add missing divemaster field to the manual
import"), divemaster field got added without extending the array length.
This corrects that.

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Anton Lundin 2015-01-08 22:54:02 +01:00 committed by Dirk Hohndel
parent d7762f8fbe
commit c8c29ac8cf

2
file.c
View file

@ -973,7 +973,7 @@ int parse_manual_file(const char *filename, int sepidx, int units, int dateforma
{
struct memblock mem;
int pnr = 0;
char *params[51];
char *params[53];
char numberbuf[MAXCOLDIGITS];
char datebuf[MAXCOLDIGITS];
char timebuf[MAXCOLDIGITS];