aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-02-10 18:55:12 (GMT)
committerfluxgen <fluxgen>2004-02-10 18:55:12 (GMT)
commitf751865512953a0f9c65b3b549cf98ed8b25bfac (patch)
tree90d5c5a2b38114f17b06acd0aeed215e99859e9f
parenta8f458d59305c21d0d99ba861dcdd1514cb3dd64 (diff)
downloadfluxbox-f751865512953a0f9c65b3b549cf98ed8b25bfac.zip
fluxbox-f751865512953a0f9c65b3b549cf98ed8b25bfac.tar.bz2
const operator
-rw-r--r--src/FbTk/KeyUtil.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/KeyUtil.cc b/src/FbTk/KeyUtil.cc
index 34f2e4d..a24abad 100644
--- a/src/FbTk/KeyUtil.cc
+++ b/src/FbTk/KeyUtil.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: KeyUtil.cc,v 1.6 2003/12/31 11:57:47 fluxgen Exp $ 22// $Id: KeyUtil.cc,v 1.7 2004/02/10 18:55:12 fluxgen Exp $
23 23
24#include "KeyUtil.hh" 24#include "KeyUtil.hh"
25#include "App.hh" 25#include "App.hh"
@@ -172,7 +172,7 @@ unsigned int KeyUtil::getModifier(const char *modstr) {
172 struct t_modlist{ 172 struct t_modlist{
173 char *str; 173 char *str;
174 unsigned int mask; 174 unsigned int mask;
175 bool operator == (const char *modstr) { 175 bool operator == (const char *modstr) const {
176 return (strcasecmp(str, modstr) == 0 && mask !=0); 176 return (strcasecmp(str, modstr) == 0 && mask !=0);
177 } 177 }
178 } modlist[] = { 178 } modlist[] = {