From b1ce64a375bfb55bce340ae4825138a8f06f5a05 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Sat, 9 Jul 2005 05:52:08 +0000 Subject: [PATCH] remove redundancy git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2843 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/nano.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/nano.c b/src/nano.c index fe823056..3527d179 100644 --- a/src/nano.c +++ b/src/nano.c @@ -4708,18 +4708,22 @@ int main(int argc, char **argv) fprintf(stderr, "Main: top and bottom win\n"); #endif - display_main_list(); - if (startline > 1 || startcol > 1) do_gotolinecolumn(startline, startcol, FALSE, FALSE, FALSE); + display_main_list(); + + titlebar(NULL); +#ifdef ENABLE_COLOR + update_color(); +#endif + #ifndef NANO_SMALL /* Return here after a SIGWINCH. */ sigsetjmp(jmpbuf, 1); #endif - /* Update the screen to account for the current buffer. */ - load_buffer(); + edit_refresh(); while (TRUE) { bool meta_key, func_key, s_or_t, ran_func, finished; -- 2.39.5