Commit b1ce64a3 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

remove redundancy

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2843 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 8 additions and 4 deletions
+8 -4
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment