aboutsummaryrefslogtreecommitdiff
path: root/src/Keys.cc
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2010-05-23 10:25:47 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2010-05-23 10:25:47 (GMT)
commitfbcdd34b223174a28ff712b7d03e56339fa2fe07 (patch)
treeda036effaeeb5ba7788f4b0403151aa864e9d16d /src/Keys.cc
parentff9c68e247704bd1522ea7a2055b7fa4b2b0c568 (diff)
downloadfluxbox-fbcdd34b223174a28ff712b7d03e56339fa2fe07.zip
fluxbox-fbcdd34b223174a28ff712b7d03e56339fa2fe07.tar.bz2
mostly cosmetic fixes, mainly discovered by 'clang --analyze'
reordering of Resource-related stuff was because of "error: explicit specialization of 'getString' after instantiation" complaints.
Diffstat (limited to 'src/Keys.cc')
-rw-r--r--src/Keys.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Keys.cc b/src/Keys.cc
index f03dc01..2b64656 100644
--- a/src/Keys.cc
+++ b/src/Keys.cc
@@ -458,7 +458,7 @@ bool Keys::addBinding(const string &linebuffer) {
458 } else if (extractKeyFromString(arg, "move", key)) { 458 } else if (extractKeyFromString(arg, "move", key)) {
459 type = MotionNotify; 459 type = MotionNotify;
460 460
461 } else if (key = FbTk::KeyUtil::getKey(val[argc].c_str())) { // convert from string symbol 461 } else if ((key = FbTk::KeyUtil::getKey(val[argc].c_str()))) { // convert from string symbol
462 type = KeyPress; 462 type = KeyPress;
463 463
464 // keycode covers the following three two-byte cases: 464 // keycode covers the following three two-byte cases: