mirror of
git://git.sv.gnu.org/nano.git
synced 2025-03-10 10:41:34 +03:00
formatting fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2621 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
parent
a9d45bba01
commit
53aca71420
11
src/nano.c
11
src/nano.c
@ -3587,13 +3587,14 @@ void do_toggle(const toggle *which)
|
||||
#endif
|
||||
}
|
||||
|
||||
/* We are assuming here that shortcut_init() above didn't free and
|
||||
* reallocate the toggles. */
|
||||
enabled = ISSET(which->flag);
|
||||
if (which->val == TOGGLE_NOHELP_KEY || which->val == TOGGLE_WRAP_KEY)
|
||||
|
||||
if (which->val == TOGGLE_NOHELP_KEY ||
|
||||
which->val == TOGGLE_WRAP_KEY)
|
||||
enabled = !enabled;
|
||||
statusbar("%s %s", which->desc,
|
||||
enabled ? _("enabled") : _("disabled"));
|
||||
|
||||
statusbar("%s %s", which->desc, enabled ? _("enabled") :
|
||||
_("disabled"));
|
||||
}
|
||||
#endif /* !NANO_SMALL */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user