cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2164 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Этот коммит содержится в:
родитель
2c70a4e608
Коммит
bfcba16761
@ -124,12 +124,12 @@ CVS code -
|
|||||||
putting back the first character of the escape sequence, as it
|
putting back the first character of the escape sequence, as it
|
||||||
worked just as well and was less complicated. (DLR)
|
worked just as well and was less complicated. (DLR)
|
||||||
get_shortcut()
|
get_shortcut()
|
||||||
- Add debug message. (DLR)
|
- Add a debug message. (DLR)
|
||||||
- Take kbinput as a reference instead of a value, so that it's
|
- Take kbinput as a reference instead of a value, so that it's
|
||||||
translated when the key is translated to its equivalent
|
translated when the key is translated to its equivalent
|
||||||
control key or meta key shortcut. (DLR)
|
control key or meta key shortcut. (DLR)
|
||||||
get_toggle()
|
get_toggle()
|
||||||
- Add debug message. (DLR)
|
- Add a debug message. (DLR)
|
||||||
- configure.ac:
|
- configure.ac:
|
||||||
- Remove specific references to control key shortcuts. (DLR)
|
- Remove specific references to control key shortcuts. (DLR)
|
||||||
- doc/nanorc.sample:
|
- doc/nanorc.sample:
|
||||||
|
@ -1573,7 +1573,7 @@ const toggle *get_toggle(int kbinput, bool meta_key)
|
|||||||
/* Check for toggles. */
|
/* Check for toggles. */
|
||||||
for (; t != NULL; t = t->next) {
|
for (; t != NULL; t = t->next) {
|
||||||
/* We've found a toggle if meta_key is TRUE and the key is in
|
/* We've found a toggle if meta_key is TRUE and the key is in
|
||||||
* the meta toggle list. */
|
* the meta key toggle list. */
|
||||||
if (meta_key && kbinput == t->val)
|
if (meta_key && kbinput == t->val)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user