another cosmetic fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2503 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2005-05-08 17:08:51 +00:00
parent 8f5e50991b
commit 7f4dd35406
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}