Commit 7f4dd354 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

another cosmetic fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2503 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 2 additions and 1 deletion
+2 -1
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment