]> gitweb.fperrin.net Git - GpsPrune.git/blobdiff - tim/prune/data/Track.java
Version 19, May 2018
[GpsPrune.git] / tim / prune / data / Track.java
index 4ae47ff03e78bc794bcb89cfd289e30006bfa5e9..f45854a0e3d47a1fd5fc0ee6924732b3294decc0 100644 (file)
@@ -320,7 +320,7 @@ public class Track
         * @param inUndo true for undo operation
         * @return true on success
         */
-       public boolean addTimeOffset(int inStart, int inEnd, long inOffset, boolean inUndo)
+       public boolean addTimeOffsetSeconds(int inStart, int inEnd, long inOffset, boolean inUndo)
        {
                // sanity check
                if (inStart < 0 || inEnd < 0 || inStart >= inEnd || inEnd >= _numPoints) {
@@ -335,7 +335,7 @@ public class Track
                        {
                                // This point has a timestamp so add the offset to it
                                foundTimestamp = true;
-                               p.addTimeOffset(inOffset);
+                               p.addTimeOffsetSeconds(inOffset);
                                p.setModified(inUndo);
                        }
                }