diff options
Diffstat (limited to 'src/gui/widgets/characterviewsmall.cpp')
-rw-r--r-- | src/gui/widgets/characterviewsmall.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/characterviewsmall.cpp b/src/gui/widgets/characterviewsmall.cpp index fa654b94d..6cdb01c7e 100644 --- a/src/gui/widgets/characterviewsmall.cpp +++ b/src/gui/widgets/characterviewsmall.cpp @@ -67,7 +67,7 @@ void CharacterViewSmall::show(const int i) if (i >= sz) mSelected = 0; else if (i < 0) - mSelected = mCharacterEntries->size() - 1; + mSelected = sz - 1; else mSelected = i; mSelectedEntry = (*mCharacterEntries)[mSelected]; |