X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fkbmap.C;h=30161748cb8dda04c22fbd546aec93162f064914;hb=35204f8f33d7400a5fefeffea533fb4cb4097211;hp=d2492e73096562303a0d39e2c6e11569144ece70;hpb=512338c9c5073ece2761737c65abc768ab48deef;p=lyx.git diff --git a/src/kbmap.C b/src/kbmap.C index d2492e7309..30161748cb 100644 --- a/src/kbmap.C +++ b/src/kbmap.C @@ -26,7 +26,10 @@ #include -using lyx::support::i18nLibFileSearch; + +namespace lyx { + +using support::i18nLibFileSearch; using std::endl; using std::string; @@ -197,7 +200,7 @@ kb_keymap::lookup(LyXKeySymPtr key, if (cit->table.get()) { // this is a prefix key - set new map seq->curmap = cit->table.get(); - static FuncRequest prefix(LFUN_PREFIX); + static FuncRequest prefix(LFUN_COMMAND_PREFIX); return prefix; } else { // final key - reset map @@ -342,3 +345,6 @@ kb_keymap::find1keybinding(FuncRequest const & func) const return std::make_pair(0, key_modifier::none); } + + +} // namespace lyx