summaryrefslogtreecommitdiff
path: root/command/marks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'command/marks.cpp')
-rw-r--r--command/marks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/command/marks.cpp b/command/marks.cpp
index 2ebef9f..130ff42 100644
--- a/command/marks.cpp
+++ b/command/marks.cpp
@@ -545,7 +545,7 @@ bool clMarks::CheckIndex(const char *Directory, bool isTS, int *FrameCnt, int *I
{
framecnt=statbuf.st_size/sizeof(struct tIndexVDR);
}
- if (framecnt!=*FrameCnt)
+ if (abs(framecnt-*FrameCnt)>2000)
{
*FrameCnt=framecnt;
*IndexError=IERR_TOOSHORT;