summaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2015-01-08 22:54:02 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-08 14:04:44 -0800
commitc8c29ac8cff7c53ecb5d10b5038fafed59d6d93a (patch)
tree9003f327d46db100d379aa1c2fd2feb4c2a1938c /file.c
parentd7762f8fbee8ec30fcba59278732f0649d788e89 (diff)
downloadsubsurface-c8c29ac8cff7c53ecb5d10b5038fafed59d6d93a.tar.gz
Adjust array size to fit all csv params
Back in e544796199eb ("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>
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 16a1c13c2..42f433950 100644
--- a/file.c
+++ b/file.c
@@ -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];