* ======================================================
*
* LyX, The Document Processor
- *
+ *
* Copyright 1995 Matthias Ettrich
* Copyright 1995-2001 The LyX Team.
*
mod &= ModsMask;
char const * const s = XKeysymToString(key);
-
+
if (mod & ShiftMask) buf += "S-";
if (mod & ControlMask) buf += "C-";
if (mod & Mod1Mask) buf += "M-";
<< seq << "' Action `"
<< action << "'" << endl;
}
-
+
kb_sequence k(0, 0);
string::size_type const res = k.parse(seq);
<< seq->print()
<< "' is overriding old binding..."
<< endl;
- if (it->table.get()) {
- it->table.reset(0);
+ if (it->table.get()) {
+ it->table.reset();
}
it->action = action;
return;
}
}
}
-
+
Table::iterator newone = table.insert(table.end(), kb_key());
newone->code = code;
newone->mod = modmsk;
if (r + 1 == seq->length()) {
newone->action = action;
- newone->table.reset(0);
+ newone->table.reset();
return;
} else {
newone->table.reset(new kb_keymap);