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

fix compilation with --enable-debug

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2696 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
......@@ -775,7 +775,7 @@ bool has_blank_chars(const char *s)
* multibyte characters, and FALSE otherwise. */
bool has_blank_mbchars(const char *s)
{
assert(str != NULL);
assert(s != NULL);
#ifdef NANO_WIDE
if (ISSET(USE_UTF8)) {
......
......@@ -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(!is_blank_char(paragraph->data[skip]));
assert(!isblank(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