Enabled repetition of track texts by TAB character

This commit is contained in:
Thomas Schmitt 2011-12-12 18:14:16 +00:00
parent 481341f5e6
commit c8a7eb9554
2 changed files with 4 additions and 3 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2011.12.12.164452"
#define Cdrskin_timestamP "2011.12.12.181346"

View File

@ -937,10 +937,11 @@ static int burn_decide_cdtext_tab(int block, int pack_type,
if (((cdt_curr->flags >> idx) & 1) != ((cdt_prev->flags >> idx) & 1))
return 0;
length = cdt_curr->length[idx];
if (length != cdt_prev->length[idx] || length == 0)
if (length != cdt_prev->length[idx] ||
length <= 1 + ((cdt_curr->flags >> idx) & 1))
return 0;
for (j = 0; j < length; j++)
if (cdt_curr->payload[j] != cdt_prev->payload[j])
if (cdt_curr->payload[idx][j] != cdt_prev->payload[idx][j])
break;
if (j < length)
return 0;