summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 9d5855ec..ae78b384 100644
--- a/src/gui/char_select.cpp
+++ b/src/gui/char_select.cpp
@@ -148,7 +148,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);
}