#include <config.h>
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
#include "kbmap.h"
#include "commandtags.h"
#include "kbsequence.h"
if (lyxerr.debugging(Debug::KBMAP)) {
lyxerr << "BIND: Sequence `"
<< seq << "' Action `"
- << action << "'" << endl;
+ << action << '\'' << endl;
}
kb_sequence k(0, 0);
key_modifier::state mask(cit->mod.second);
key_modifier::state check =
static_cast<key_modifier::state>(mod & ~mask);
-
+
if (*(cit->code) == *key && cit->mod.first == check) {
// match found
if (cit->table.get()) {
res += cit->table->findbinding(act,
prefix
+ printKey((*cit))
- + " ");
+ + ' ');
} else if (cit->action == act) {
- res += "[";
+ res += '[';
res += prefix + printKey((*cit));
res += "] ";
}