summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-02-17 16:09:36 +0000
committerIra Rice <irarice@gmail.com>2009-02-17 19:03:18 -0700
commit218303948fa3aa3fd139b47e303ed1f7c7cfd802 (patch)
treea9fe00617f2772a1c64f1da24b6f815dbcc0028c /src/gui
parentdc1f3ec3ec7d27f00b39316eed1a73bcfc4bf2df (diff)
downloadmana-218303948fa3aa3fd139b47e303ed1f7c7cfd802.tar.gz
mana-218303948fa3aa3fd139b47e303ed1f7c7cfd802.tar.bz2
mana-218303948fa3aa3fd139b47e303ed1f7c7cfd802.tar.xz
mana-218303948fa3aa3fd139b47e303ed1f7c7cfd802.zip
Fix small bug in character select dialog
That check can probably be removed entirely, as it's inappropriate.
Diffstat (limited to 'src/gui')
-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);
}