Commit 25fb1025 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

fix assert

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2697 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -2643,7 +2643,7 @@ void justify_format(filestruct *paragraph, size_t skip)
assert(paragraph != NULL);
assert(paragraph->data != NULL);
assert(skip < strlen(paragraph->data));
assert(!isblank(paragraph->data[skip]));
assert(!is_blank_mbchar(paragraph->data + skip));
end = paragraph->data + skip;
new_paragraph_data = charalloc(strlen(paragraph->data) + 1);
......
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