Commit f3b10e8e authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

another comment fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1976 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
...@@ -310,7 +310,7 @@ const char *strstrwrapper(const char *haystack, const char *needle, ...@@ -310,7 +310,7 @@ const char *strstrwrapper(const char *haystack, const char *needle,
const char *start) const char *start)
{ {
/* start can be 1 character before the start or after the end of the /* start can be 1 character before the start or after the end of the
* line. In either case, we just say there is no match found. */ * line. In either case, we just say no match was found. */
if ((start > haystack && *(start - 1) == '\0') || start < haystack) if ((start > haystack && *(start - 1) == '\0') || start < haystack)
return NULL; return NULL;
assert(haystack != NULL && needle != NULL && start != NULL); assert(haystack != NULL && needle != NULL && start != 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