Commit 84763ef4 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

cosmetic fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4125 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
......@@ -700,9 +700,9 @@ const char *revstrstr(const char *haystack, const char *needle, const
return rev_start;
for (; rev_start >= haystack; rev_start--) {
const char *r, *q;
const char *r = rev_start, *q = needle;
for (r = rev_start, q = needle; *q != '\0' && *r == *q; r++, q++)
for (; *q != '\0' && *r == *q; r++, q++)
;
if (*q == '\0')
......
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