#221 fixed a bug counting VersePosition.Comment as real couplets

This commit is contained in:
Hamid Reza Mohammadi 2021-10-15 14:22:23 +03:30
parent 19c3e689e7
commit 5b493fb16e

View File

@ -526,7 +526,7 @@ namespace RMuseum.Services.Implementation
int cIndex = -1;
foreach (var verse in verses)
{
if (verse.VersePosition != VersePosition.Left && verse.VersePosition != VersePosition.CenteredVerse2)
if (verse.VersePosition != VersePosition.Left && verse.VersePosition != VersePosition.CenteredVerse2 && verse.VersePosition != VersePosition.Comment)
cIndex++;
if (verse.VersePosition != VersePosition.Comment)
{