cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2798 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
44e0c03fff
commit
6168cb7391
|
@ -3984,8 +3984,7 @@ void do_help(void)
|
||||||
* expect word to have tabs and control characters expanded. */
|
* expect word to have tabs and control characters expanded. */
|
||||||
void do_replace_highlight(bool highlight_flag, const char *word)
|
void do_replace_highlight(bool highlight_flag, const char *word)
|
||||||
{
|
{
|
||||||
size_t y = xplustabs();
|
size_t y = xplustabs(), word_len = strlenpt(word);
|
||||||
size_t word_len = strlenpt(word);
|
|
||||||
|
|
||||||
y = get_page_start(y) + COLS - y;
|
y = get_page_start(y) + COLS - y;
|
||||||
/* Now y is the number of columns that we can display on this
|
/* Now y is the number of columns that we can display on this
|
||||||
|
|
Loading…
Reference in New Issue