From: David Lawrence Ramsey Date: Sat, 9 Jul 2005 05:52:08 +0000 (+0000) Subject: remove redundancy X-Git-Tag: v1.3.9~203 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=b1ce64a375bfb55bce340ae4825138a8f06f5a05;p=nano.git remove redundancy git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2843 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- 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;