From: David Lawrence Ramsey Date: Tue, 17 May 2005 18:15:00 +0000 (+0000) Subject: set placewewant more efficiently X-Git-Tag: v1.3.8~280 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=650b39c43d5971537e4bf55baa85a5692aad01a6;p=nano.git set placewewant more efficiently git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2523 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/search.c b/src/search.c index d52165c3..b331c489 100644 --- a/src/search.c +++ b/src/search.c @@ -1025,12 +1025,12 @@ void do_gotolinecolumn(int line, ssize_t column, bool use_answer, bool } current_x = actual_x(current->data, column - 1); + placewewant = column - 1; /* If save_pos is TRUE, don't change the cursor position when * updating the edit window. */ edit_update(save_pos ? NONE : CENTER); - placewewant = xplustabs(); display_main_list(); }