1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 08:18:52 -05:00

* {di} binding now always returns the duplicate indenity index 1..n and will never unwind

This commit is contained in:
Reinhard Pointner 2015-03-16 05:51:03 +00:00
parent cc425ba66f
commit 1fcdd21837

View File

@ -788,8 +788,7 @@ public class MediaBindingBean {
duplicates.add(it);
}
}
int di = identityIndexOf(duplicates, getInfoObject());
return di == 0 ? null : di;
return 1 + identityIndexOf(duplicates, getInfoObject());
}
@Define("self")