From: David Lawrence Ramsey Date: Fri, 6 May 2005 17:03:53 +0000 (+0000) Subject: cosmetic fix X-Git-Tag: v1.3.8~298 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=8f5e50991b9986d241af8b6ec97ba239490f476c;p=nano.git cosmetic fix git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2502 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/search.c b/src/search.c index 696e2349..ac8888e8 100644 --- a/src/search.c +++ b/src/search.c @@ -1232,7 +1232,7 @@ char *get_history_completion(historyheadtype *h, char *s) return p->data; } } - h->current = (historytype*)h; + h->current = (historytype *)h; null_at(&s, h->len); return s; }