summaryrefslogtreecommitdiff
path: root/src/gui/widgets/inttextfield.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-12-22 22:26:42 +0100
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2012-01-09 07:00:17 +0100
commitbb94a1c1906de4b7d71690f15f05f5fe9fbdb444 (patch)
treec3d886d4e6d6bdcb74e548ecf4dd346cd425c173 /src/gui/widgets/inttextfield.cpp
parent9a702e64449ba54fab28706c5b9c5ff9f2a41f8a (diff)
downloadmana-bb94a1c1906de4b7d71690f15f05f5fe9fbdb444.tar.gz
mana-bb94a1c1906de4b7d71690f15f05f5fe9fbdb444.tar.bz2
mana-bb94a1c1906de4b7d71690f15f05f5fe9fbdb444.tar.xz
mana-bb94a1c1906de4b7d71690f15f05f5fe9fbdb444.zip
Changed INT and DELETE enum names to fix C::B compilation.
This was introduced since Crush updated his mana lib pack. I simply changed the names to avoid a collision. Reviewed-by: Ablu.
Diffstat (limited to 'src/gui/widgets/inttextfield.cpp')
-rw-r--r--src/gui/widgets/inttextfield.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/inttextfield.cpp b/src/gui/widgets/inttextfield.cpp
index fb02eae3..9e2182bd 100644
--- a/src/gui/widgets/inttextfield.cpp
+++ b/src/gui/widgets/inttextfield.cpp
@@ -37,7 +37,7 @@ void IntTextField::keyPressed(gcn::KeyEvent &event)
const gcn::Key &key = event.getKey();
if (key.getValue() == Key::BACKSPACE ||
- key.getValue() == Key::DELETE)
+ key.getValue() == Key::DELETE_KEY)
{
setText(std::string());
event.consume();