From d1dc23bd78565e4c819936b4cbc385799010d25f Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Thu, 21 Jul 2005 17:52:36 +0000 Subject: [PATCH] cosmetic fixes git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2907 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/nano.c | 1 - src/search.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/nano.c b/src/nano.c index fad40471..57065c9a 100644 --- a/src/nano.c +++ b/src/nano.c @@ -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': diff --git a/src/search.c b/src/search.c index ae88c108..fcd62b93 100644 --- a/src/search.c +++ b/src/search.c @@ -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); -- 2.39.5