]> git.wh0rd.org Git - nano.git/commitdiff
formatting and cosmetic fixes
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Sat, 27 Nov 2004 16:54:00 +0000 (16:54 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Sat, 27 Nov 2004 16:54:00 +0000 (16:54 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2144 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/nano.c

index 91819646f1999ca471527b4f3127a97b8acd9211..779facbc1d01a0fd6ba30ad5bcf538020e1f0a76 100644 (file)
@@ -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
     }