From: David Lawrence Ramsey Date: Sat, 27 Nov 2004 16:54:00 +0000 (+0000) Subject: formatting and cosmetic fixes X-Git-Tag: v1.3.6~256 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=62a217d35dd931f6faf614951e365a51965de90c;p=nano.git formatting and cosmetic fixes git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2144 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/nano.c b/src/nano.c index 91819646..779facbc 100644 --- a/src/nano.c +++ b/src/nano.c @@ -3320,35 +3320,34 @@ void do_toggle(const toggle *which) { bool enabled; - /* Even easier! */ TOGGLE(which->flag); switch (which->val) { - case TOGGLE_SUSPEND_KEY: - signal_init(); - break; + case TOGGLE_SUSPEND_KEY: + signal_init(); + break; #ifndef DISABLE_MOUSE - case TOGGLE_MOUSE_KEY: - mouse_init(); - break; + case TOGGLE_MOUSE_KEY: + mouse_init(); + break; #endif - case TOGGLE_NOHELP_KEY: - blank_statusbar(); - blank_bottombars(); - wrefresh(bottomwin); - window_init(); - edit_refresh(); - display_main_list(); - break; + case TOGGLE_NOHELP_KEY: + blank_statusbar(); + blank_bottombars(); + wrefresh(bottomwin); + window_init(); + edit_refresh(); + display_main_list(); + break; #ifdef ENABLE_COLOR - case TOGGLE_SYNTAX_KEY: - edit_refresh(); - break; + case TOGGLE_SYNTAX_KEY: + edit_refresh(); + break; #endif #ifdef ENABLE_NANORC - case TOGGLE_WHITESPACE_KEY: - edit_refresh(); - break; + case TOGGLE_WHITESPACE_KEY: + edit_refresh(); + break; #endif }