]> gitweb.fperrin.net Git - GpsPrune.git/blobdiff - tim/prune/data/Track.java
Version 13.4, May 2012
[GpsPrune.git] / tim / prune / data / Track.java
index fc65959bd3c6f2c25442d4e3bd15a78d98842f60..63cd01faaf488028085a6712c5648ad9ffa8ea1d 100644 (file)
@@ -489,7 +489,7 @@ public class Track
        {
                // TODO: Move cut/move into separate function?
                // Check that indices make sense
-               if (inSectionStart > 0 && inSectionEnd > inSectionStart && inMoveTo >= 0
+               if (inSectionStart >= 0 && inSectionEnd > inSectionStart && inMoveTo >= 0
                        && (inMoveTo < inSectionStart || inMoveTo > (inSectionEnd+1)))
                {
                        // do the cut and move