Commit 24b15630 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

comment fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2889 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 2 additions and 1 deletion
+2 -1
......@@ -799,7 +799,8 @@ ssize_t do_replace_loop(const char *needle, const filestruct
if (i == 2)
replaceall = TRUE;
/* Get the match's length in single-byte characters. */
/* Make sure the string we replace is the match's length in
* single-byte characters. */
match = mallocstrncpy(NULL, openfile->current->data +
openfile->current_x, match_len + 1);
match[match_len] = '\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