remove redundancy

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2843 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2005-07-09 05:52:08 +00:00
parent 2d705caec7
commit b1ce64a375
1 changed files with 8 additions and 4 deletions

View File

@ -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;