diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2017-09-06 19:32:04 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-09-11 07:21:43 -0700 |
commit | 40cc0b0e4bacde90c296472c687cf0bef603fd66 (patch) | |
tree | dbe9e54de7d506355f0a94058aa37e8628b03ed6 /desktop-widgets | |
parent | 5b5cab2905aea4d97e3c6d6aa13455d63faf975c (diff) | |
download | subsurface-40cc0b0e4bacde90c296472c687cf0bef603fd66.tar.gz |
Import dive number from DL7 log
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/divelogimportdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/divelogimportdialog.cpp b/desktop-widgets/divelogimportdialog.cpp index 51046216f..e4f4899eb 100644 --- a/desktop-widgets/divelogimportdialog.cpp +++ b/desktop-widgets/divelogimportdialog.cpp @@ -926,7 +926,7 @@ void DiveLogImportDialog::on_buttonBox_accepted() parse_manual_file(fileNames[i].toUtf8().data(), params, pnr - 1); } else { - char *params[49]; + char *params[51]; int pnr = 0; QRegExp apdRe("^.*[/\\][0-9a-zA-Z]*_([0-9]{6})_([0-9]{6})\\.apd"); |