diff --git a/ChangeLog b/ChangeLog index e5106932..74b69b0d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -15898,3 +15898,6 @@ accounts with a password containing one or more '$' characters to fail. 2017-07-17 Fred Gleason * Incremented the package version to 2.16.0int06_rfa00. +2017-07-18 Fred Gleason + * Fixed a bug in the 'ListCuts web API call that caused incorrect + and values to the returned. diff --git a/lib/rdcut.cpp b/lib/rdcut.cpp index 7b68175d..62e2a8b4 100644 --- a/lib/rdcut.cpp +++ b/lib/rdcut.cpp @@ -1496,7 +1496,7 @@ QString RDCut::xml(RDSqlQuery *q,bool absolute,RDSettings *settings) else { xml+=" "+RDXmlField("startPoint",0); xml+=" "+ - RDXmlField("endPoint",q->value(31).toInt()-q->value(59).toInt()); + RDXmlField("endPoint",q->value(60).toInt()-q->value(59).toInt()); if(q->value(61).toInt()<0) { xml+=" "+RDXmlField("fadeupPoint",-1); }