mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
reorganizing a bit
This commit is contained in:
@@ -355,7 +355,7 @@ namespace CUETools.CDImage
|
||||
{
|
||||
if (iIndex < _tracks[iTrack - 1].LastIndex)
|
||||
return _tracks[iTrack - 1][iIndex + 1].Start - _tracks[iTrack - 1][iIndex].Start;
|
||||
if (iTrack < AudioTracks)
|
||||
if (iTrack < TrackCount && _tracks[iTrack].IsAudio)
|
||||
return _tracks[iTrack][0].Start - _tracks[iTrack - 1][iIndex].Start;
|
||||
return _tracks[iTrack - 1].End + 1 - _tracks[iTrack - 1][iIndex].Start;
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<OutputPath>..\bin\any\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
|
||||
Reference in New Issue
Block a user