Skip to content

Commit

Permalink
Merge pull request xbmc#13068 from Pati/fixSetSubtitles
Browse files Browse the repository at this point in the history
FIXED: ListItem::setSubtitles if more than one subtitle is given
  • Loading branch information
notspiff committed Nov 20, 2017
2 parents 67fd70f + a9760f2 commit 30b5b59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/interfaces/legacy/ListItem.cpp
Expand Up @@ -823,7 +823,7 @@ namespace XBMCAddon
unsigned int i = 1;
for (const auto& it: paths)
{
String property = StringUtils::Format("subtitle:%u", i);
String property = StringUtils::Format("subtitle:%u", i++);
item->SetProperty(property, it);
}
}
Expand Down

0 comments on commit 30b5b59

Please sign in to comment.