From 62a217d35dd931f6faf614951e365a51965de90c Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Sat, 27 Nov 2004 16:54:00 +0000 Subject: [PATCH] formatting and cosmetic fixes git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2144 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/nano.c | 41 ++++++++++++++++++++--------------------- 1 file changed, 20 insertions(+), 21 deletions(-) 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 } -- 2.39.5