mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 00:24:47 -07:00
Fix off by one
This commit is contained in:
parent
88dfea8ece
commit
bba8184d37
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ bool PictureToLoad::nextSet()
|
|||
|
||||
QString PictureToLoad::getSetName() const
|
||||
{
|
||||
if (setIndex < sortedSets.size() - 1)
|
||||
if (setIndex < sortedSets.size())
|
||||
return sortedSets[setIndex]->getCorrectedShortName();
|
||||
else
|
||||
return QString("");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue