diff -wur nano-cvs/src/browser.c nano-new/src/browser.c --- nano-cvs/src/browser.c 2006-05-19 18:50:37.000000000 +0200 +++ nano-new/src/browser.c 2006-05-21 22:22:43.000000000 +0200 @@ -100,8 +100,6 @@ MEVENT mevent; #endif - check_statusblank(); - /* Compute the line number we're on now, so that we don't divide * by zero. */ fileline = selected; diff -wur nano-cvs/src/cut.c nano-new/src/cut.c --- nano-cvs/src/cut.c 2006-05-21 22:16:17.000000000 +0200 +++ nano-new/src/cut.c 2006-05-21 22:22:00.000000000 +0200 @@ -133,8 +133,6 @@ assert(openfile->current != NULL && openfile->current->data != NULL); - check_statusblank(); - /* If keep_cutbuffer is FALSE and the cutbuffer isn't empty, blow * away the text in the cutbuffer. */ if (!keep_cutbuffer && cutbuffer != NULL) { @@ -254,8 +252,6 @@ wrap_reset(); #endif - check_statusblank(); - /* If the cutbuffer is empty, get out. */ if (cutbuffer == NULL) return; diff -wur nano-cvs/src/move.c nano-new/src/move.c --- nano-cvs/src/move.c 2006-05-19 12:02:33.000000000 +0200 +++ nano-new/src/move.c 2006-05-21 22:24:01.000000000 +0200 @@ -32,8 +32,6 @@ const filestruct *current_save = openfile->current; size_t pww_save = openfile->placewewant; - check_statusblank(); - openfile->current = openfile->fileage; openfile->current_x = 0; openfile->placewewant = 0; @@ -47,8 +45,6 @@ const filestruct *current_save = openfile->current; size_t pww_save = openfile->placewewant; - check_statusblank(); - openfile->current = openfile->filebot; openfile->current_x = strlen(openfile->filebot->data); openfile->placewewant = xplustabs(); @@ -62,8 +58,6 @@ { int i; - check_statusblank(); - #ifndef DISABLE_WRAPPING wrap_reset(); #endif @@ -103,8 +97,6 @@ { int i; - check_statusblank(); - #ifndef DISABLE_WRAPPING wrap_reset(); #endif @@ -149,8 +141,6 @@ const filestruct *current_save = openfile->current; const size_t pww_save = openfile->placewewant; - check_statusblank(); - if (openfile->current != openfile->fileage) { do { openfile->current = openfile->current->prev; @@ -183,8 +173,6 @@ const filestruct *const current_save = openfile->current; const size_t pww_save = openfile->placewewant; - check_statusblank(); - while (openfile->current != openfile->filebot && !inpar(openfile->current)) openfile->current = openfile->current->next; @@ -233,8 +221,6 @@ assert(openfile->current != NULL && openfile->current->data != NULL); - check_statusblank(); - char_mb = charalloc(mb_cur_max()); /* Move forward until we find the character after the last letter of @@ -331,8 +317,6 @@ assert(openfile->current != NULL && openfile->current->data != NULL); - check_statusblank(); - char_mb = charalloc(mb_cur_max()); /* Move backward until we find the character before the first letter @@ -460,8 +444,6 @@ { size_t pww_save = openfile->placewewant; - check_statusblank(); - #ifndef NANO_TINY if (ISSET(SMART_HOME)) { size_t current_x_save = openfile->current_x; @@ -490,8 +472,6 @@ { size_t pww_save = openfile->placewewant; - check_statusblank(); - openfile->current_x = strlen(openfile->current->data); openfile->placewewant = xplustabs(); @@ -502,8 +482,6 @@ /* Move up one line. */ void do_up(void) { - check_statusblank(); - #ifndef DISABLE_WRAPPING wrap_reset(); #endif @@ -542,8 +520,6 @@ /* Scroll up one line without scrolling the cursor. */ void do_scroll_up(void) { - check_statusblank(); - #ifndef DISABLE_WRAPPING wrap_reset(); #endif @@ -567,8 +543,6 @@ /* Move down one line. */ void do_down(void) { - check_statusblank(); - #ifndef DISABLE_WRAPPING wrap_reset(); #endif @@ -607,8 +581,6 @@ /* Scroll down one line without scrolling the cursor. */ void do_scroll_down(void) { - check_statusblank(); - #ifndef DISABLE_WRAPPING wrap_reset(); #endif @@ -634,8 +606,6 @@ { size_t pww_save = openfile->placewewant; - check_statusblank(); - if (openfile->current_x > 0) openfile->current_x = move_mbleft(openfile->current->data, openfile->current_x); @@ -655,8 +625,6 @@ { size_t pww_save = openfile->placewewant; - check_statusblank(); - assert(openfile->current_x <= strlen(openfile->current->data)); if (openfile->current->data[openfile->current_x] != '\0') diff -wur nano-cvs/src/text.c nano-new/src/text.c --- nano-cvs/src/text.c 2006-05-20 19:15:41.000000000 +0200 +++ nano-new/src/text.c 2006-05-21 22:22:23.000000000 +0200 @@ -215,8 +215,6 @@ assert(openfile->current != NULL && openfile->current->data != NULL); - check_statusblank(); - /* If the mark isn't on, indicate it on the statusbar and get * out. */ if (!openfile->mark_set) { diff -wur nano-cvs/src/winio.c nano-new/src/winio.c --- nano-cvs/src/winio.c 2006-05-20 22:55:48.000000000 +0200 +++ nano-new/src/winio.c 2006-05-21 22:25:08.000000000 +0200 @@ -627,6 +627,8 @@ fprintf(stderr, "parse_kbinput(): kbinput = %d, meta_key = %d, func_key = %d, escapes = %d, byte_digits = %d, retval = %d\n", *kbinput, (int)*meta_key, (int)*func_key, escapes, byte_digits, retval); #endif + check_statusblank(); + /* Return the result. */ return retval; }