remove redundancy
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2843 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
2d705caec7
commit
b1ce64a375
12
src/nano.c
12
src/nano.c
|
@ -4708,18 +4708,22 @@ int main(int argc, char **argv)
|
||||||
fprintf(stderr, "Main: top and bottom win\n");
|
fprintf(stderr, "Main: top and bottom win\n");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
display_main_list();
|
|
||||||
|
|
||||||
if (startline > 1 || startcol > 1)
|
if (startline > 1 || startcol > 1)
|
||||||
do_gotolinecolumn(startline, startcol, FALSE, FALSE, FALSE);
|
do_gotolinecolumn(startline, startcol, FALSE, FALSE, FALSE);
|
||||||
|
|
||||||
|
display_main_list();
|
||||||
|
|
||||||
|
titlebar(NULL);
|
||||||
|
#ifdef ENABLE_COLOR
|
||||||
|
update_color();
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef NANO_SMALL
|
#ifndef NANO_SMALL
|
||||||
/* Return here after a SIGWINCH. */
|
/* Return here after a SIGWINCH. */
|
||||||
sigsetjmp(jmpbuf, 1);
|
sigsetjmp(jmpbuf, 1);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Update the screen to account for the current buffer. */
|
edit_refresh();
|
||||||
load_buffer();
|
|
||||||
|
|
||||||
while (TRUE) {
|
while (TRUE) {
|
||||||
bool meta_key, func_key, s_or_t, ran_func, finished;
|
bool meta_key, func_key, s_or_t, ran_func, finished;
|
||||||
|
|
Loading…
Reference in New Issue