]> git.wh0rd.org Git - nano.git/commitdiff
cosmetic fixes
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Thu, 21 Jul 2005 17:52:36 +0000 (17:52 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Thu, 21 Jul 2005 17:52:36 +0000 (17:52 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2907 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/nano.c
src/search.c

index fad40471c4285f17a69b2c8d05753540b1a4aaf9..57065c9ad1a4667839355a13c3f582a6a722bc44 100644 (file)
@@ -4088,7 +4088,6 @@ int main(int argc, char **argv)
                "h?ABC:EFHINOQ:RST:UVY:abcdefgijklmo:pr:s:tvwxz")
 #endif
                ) != -1) {
-
        switch (optchr) {
            case 'a':
            case 'b':
index ae88c108a176f444ca228d6f7ee79e25496c8f80..fcd62b938901039925605e79e7b36a53bfa78fd2 100644 (file)
@@ -1064,7 +1064,7 @@ void do_gotopos(ssize_t line, size_t pos_x, ssize_t pos_y, size_t
 void do_find_bracket(void)
 {
     const char *bracket_pat = "()<>[]{}", *pos;
-    char regex_pat[5] = "[  ]", ch, wanted_ch;
+    char regex_pat[] = "[  ]", ch, wanted_ch;
     filestruct *current_save;
     size_t current_x_save, pww_save;
     bool regexp_set = ISSET(USE_REGEXP);