another cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2503 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Этот коммит содержится в:
родитель
8f5e50991b
Коммит
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;
|
||||
}
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user