summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-08-17 20:07:02 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-08-17 20:07:02 +0000
commitfccffaf115ebd6b3f08cb9e5636a5da5cffe35e0 (patch)
tree55be80cb8908d1a827ce7618ade64aaec803e205
parenta91e9498a8be9e26f393cb33f8c1d9ed5e77ff40 (diff)
downloadmana-fccffaf115ebd6b3f08cb9e5636a5da5cffe35e0.tar.gz
mana-fccffaf115ebd6b3f08cb9e5636a5da5cffe35e0.tar.bz2
mana-fccffaf115ebd6b3f08cb9e5636a5da5cffe35e0.tar.xz
mana-fccffaf115ebd6b3f08cb9e5636a5da5cffe35e0.zip
Fixed compile issue related to array bound not being an integer constant.
-rw-r--r--ChangeLog2
-rw-r--r--src/gui/setup_keyboard.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d5059fdb..737ff4f9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,8 @@
* tools/adler32.c: Added little program for calculating adler32
checksums of files.
+ * src/gui/setup_keyboard.cpp: Fixed compile issue related to array
+ bound not being an integer constant.
2007-08-15 Philipp Sehmisch <tmw@crushnet.org>
diff --git a/src/gui/setup_keyboard.cpp b/src/gui/setup_keyboard.cpp
index 2929cab6..3cce3483 100644
--- a/src/gui/setup_keyboard.cpp
+++ b/src/gui/setup_keyboard.cpp
@@ -65,7 +65,7 @@ class KeyListModel : public gcn::ListModel
}
private:
- std::string mKeyFunctions[keyboard.KEY_TOTAL];
+ std::string mKeyFunctions[KeyboardConfig::KEY_TOTAL];
};
Setup_Keyboard::Setup_Keyboard():