another cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2503 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
8f5e50991b
commit
7f4dd35406
|
@ -1150,9 +1150,10 @@ void history_init(void)
|
|||
/* find first node containing string *s in history list *h */
|
||||
historytype *find_node(historytype *h, const char *s)
|
||||
{
|
||||
for (; h->next != NULL; h = h->next)
|
||||
for (; h->next != NULL; h = h->next) {
|
||||
if (strcmp(s, h->data) == 0)
|
||||
return h;
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue