From 7f4dd35406b79b5c1d7aa695b2b96d366773c9fa Mon Sep 17 00:00:00 2001
From: David Lawrence Ramsey <pooka109@gmail.com>
Date: Sun, 8 May 2005 17:08:51 +0000
Subject: [PATCH] another cosmetic fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2503 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 src/search.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/search.c b/src/search.c
index ac8888e8..b7210b26 100644
--- a/src/search.c
+++ b/src/search.c
@@ -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;
 }
 
-- 
GitLab