summaryrefslogtreecommitdiff
path: root/src/gui/char_select.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/char_select.cpp')
-rw-r--r--src/gui/char_select.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/char_select.cpp b/src/gui/char_select.cpp
index 208e3b56..894d2828 100644
--- a/src/gui/char_select.cpp
+++ b/src/gui/char_select.cpp
@@ -151,7 +151,7 @@ void CharSelectDialog::action(const gcn::ActionEvent &event)
else if (event.getId() == "newdel")
{
// Check for a character
- if (mCharInfo->getEntry() && n_character <= MAX_SLOT )
+ if (mCharInfo->getEntry() && n_character <= MAX_SLOT + 1)
{
new CharDeleteConfirm(this);
}