Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
bba8184d
Commit
bba8184d
authored
Aug 07, 2014
by
Fabio Bas
Browse files
Fix off by one
parent
88dfea8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/carddatabase.cpp
View file @
bba8184d
...
@@ -95,7 +95,7 @@ bool PictureToLoad::nextSet()
...
@@ -95,7 +95,7 @@ bool PictureToLoad::nextSet()
QString
PictureToLoad
::
getSetName
()
const
QString
PictureToLoad
::
getSetName
()
const
{
{
if
(
setIndex
<
sortedSets
.
size
()
-
1
)
if
(
setIndex
<
sortedSets
.
size
())
return
sortedSets
[
setIndex
]
->
getCorrectedShortName
();
return
sortedSets
[
setIndex
]
->
getCorrectedShortName
();
else
else
return
QString
(
""
);
return
QString
(
""
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment