diff options
Diffstat (limited to 'src/FbTk/KeyUtil.cc')
-rw-r--r-- | src/FbTk/KeyUtil.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/KeyUtil.cc b/src/FbTk/KeyUtil.cc index 1830dca..a6ca632 100644 --- a/src/FbTk/KeyUtil.cc +++ b/src/FbTk/KeyUtil.cc | |||
@@ -34,7 +34,7 @@ | |||
34 | namespace { | 34 | namespace { |
35 | 35 | ||
36 | struct t_modlist{ | 36 | struct t_modlist{ |
37 | char *str; | 37 | const char *str; |
38 | unsigned int mask; | 38 | unsigned int mask; |
39 | bool operator == (const char *modstr) const { | 39 | bool operator == (const char *modstr) const { |
40 | return (strcasecmp(str, modstr) == 0 && mask !=0); | 40 | return (strcasecmp(str, modstr) == 0 && mask !=0); |