From 2ad0f6c0ad26512240b3fe27e11cc7195b4c5e9b Mon Sep 17 00:00:00 2001
From: Chris Allegretta <chrisa@asty.org>
Date: Thu, 16 Jan 2003 03:51:02 +0000
Subject: [PATCH] - search.c:do_gotoline() - Don't call
 blank_statusbar_refresh() so if there's an error returned in multibuffer
 mode, we can actually see it

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1364 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 ChangeLog | 3 +++
 search.c  | 1 -
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 36b387fe..89013fcf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -178,6 +178,9 @@ Changes
 	  so that functions only used with tab completion are properly
 	  #ifdef'ed out. (DLR)
 - search.c:
+  do_gotoline()
+	- Don't call blank_statusbar_refresh() so if there's an error
+	  returned in multibuffer mode, we can actually see it.
   do_search()
 	- Remove erroneously introduced near-duplicate call to
 	  update_history(). (DLR)
diff --git a/search.c b/search.c
index 59609b5b..01e71b80 100644
--- a/search.c
+++ b/search.c
@@ -780,7 +780,6 @@ int do_gotoline(int line, int save_pos)
 	edit_update(current, CENTER);
     placewewant = 0;
     goto_abort();
-    blank_statusbar_refresh();
     return 1;
 }
 
-- 
GitLab