]> git.wh0rd.org Git - nano.git/commitdiff
add missing blank lines
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Wed, 8 Feb 2006 04:02:30 +0000 (04:02 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Wed, 8 Feb 2006 04:02:30 +0000 (04:02 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3283 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/browser.c

index e919d9136700c641b04c6244d67e147252f3f972..3d3251aab8482c3e88d2d10598c9bc5a9f5f3f5e 100644 (file)
@@ -142,18 +142,22 @@ char *do_browser(char *path, DIR *dir)
                if (selected >= width)
                    selected -= width;
                break;
+
            case NANO_BACK_KEY:
                if (selected > 0)
                    selected--;
                break;
+
            case NANO_NEXTLINE_KEY:
                if (selected + width <= numents - 1)
                    selected += width;
                break;
+
            case NANO_FORWARD_KEY:
                if (selected < numents - 1)
                    selected++;
                break;
+
            case NANO_PREVPAGE_KEY:
                if (selected >= (editwinrows + fileline % editwinrows) *
                        width)
@@ -162,12 +166,14 @@ char *do_browser(char *path, DIR *dir)
                else
                    selected = 0;
                break;
+
            case NANO_NEXTPAGE_KEY:
                selected += (editwinrows - fileline % editwinrows) *
                        width;
                if (selected >= numents)
                    selected = numents - 1;
                break;
+
            case NANO_HELP_KEY:
 #ifndef DISABLE_HELP
                do_help();
@@ -176,6 +182,7 @@ char *do_browser(char *path, DIR *dir)
                nano_disabled_msg();
 #endif
                break;
+
            case NANO_ENTER_KEY:
                /* You can't move up from "/". */
                if (strcmp(filelist[selected], "/..") == 0) {