summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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():