From fccffaf115ebd6b3f08cb9e5636a5da5cffe35e0 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Fri, 17 Aug 2007 20:07:02 +0000 Subject: Fixed compile issue related to array bound not being an integer constant. --- ChangeLog | 2 ++ src/gui/setup_keyboard.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 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(): -- cgit v1.2.3-70-g09d2