commit b1ce64a375bfb55bce340ae4825138a8f06f5a05
parent 2d705caec71236799396e59ac6a26de1e09664c4
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Sat, 9 Jul 2005 05:52:08 +0000
remove redundancy
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2843 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git 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;