comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2956 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
5745c0a11f
commit
db57ad757f
|
@ -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 ? "..." : "");
|
||||||
|
|
Loading…
Reference in New Issue