Match duration fencepost error.

This commit is contained in:
Mark Liversedge
2013-11-11 18:04:50 +00:00
parent 5800fa5bab
commit ac138f9108

View File

@@ -427,7 +427,7 @@ AddIntervalDialog::createClicked()
add.start = match.start;
add.stop = match.stop;
int lenSecs = match.stop-match.start;
int lenSecs = match.stop-match.start+1;
QString duration;
// format the duration nicely!