comment fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2956 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2005-07-31 20:57:38 +00:00
parent 5745c0a11f
commit db57ad757f
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ int search_init(bool replacing, bool use_answer)
char *disp = display_string(last_search, 0, COLS / 3, FALSE); char *disp = display_string(last_search, 0, COLS / 3, FALSE);
buf = charalloc(strlen(disp) + 7); buf = charalloc(strlen(disp) + 7);
/* We use COLS / 3 here because we need to see more on the /* We use (COLS / 3) here because we need to see more on the
* line. */ * line. */
sprintf(buf, " [%s%s]", disp, sprintf(buf, " [%s%s]", disp,
strlenpt(last_search) > COLS / 3 ? "..." : ""); strlenpt(last_search) > COLS / 3 ? "..." : "");