minor cosmetic fixes


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1814 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
diff --git a/src/winio.c b/src/winio.c
index 1fd95d3..a01a91c 100644
--- a/src/winio.c
+++ b/src/winio.c
@@ -2338,7 +2338,8 @@
 		 * starts. */
 		end_line = fileptr;
 		while (end_line != NULL &&
-			regexec(tmpcolor->end, end_line->data, 1, &endmatch, 0))
+			regexec(tmpcolor->end, end_line->data, 1,
+			&endmatch, 0) == REG_NOMATCH)
 		    end_line = end_line->next;
 
 		/* No end found, or it is too early. */