fix compilation with --enable-debug
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2696 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
e6a55fa1e5
commit
a9a3f4f599
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue