aboutsummaryrefslogtreecommitdiff
path: root/src/Keys.cc
diff options
context:
space:
mode:
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 dbcff67..97a83bf 100644
--- a/src/Keys.cc
+++ b/src/Keys.cc
@@ -339,7 +339,7 @@ bool Keys::doAction(int type, unsigned int mods, unsigned int key) {
339 // grab "None Escape" to exit keychain in the middle 339 // grab "None Escape" to exit keychain in the middle
340 unsigned int esc = FbTk::KeyUtil::getKey("Escape"); 340 unsigned int esc = FbTk::KeyUtil::getKey("Escape");
341 341
342 if (temp_key && temp_key->keylist.size()) { // emacs-style 342 if (temp_key && !temp_key->keylist.empty()) { // emacs-style
343 if (!saved_keymode) 343 if (!saved_keymode)
344 saved_keymode = m_keylist; 344 saved_keymode = m_keylist;
345 next_key = temp_key; 345 next_key = temp_key;