commit a9a3f4f599de372f143b35e0f42bf360cf6b867c
parent e6a55fa1e5bee57f4d95993eb661d226f17dc8b8
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Thu, 16 Jun 2005 12:17:23 +0000
fix compilation with --enable-debug
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2696 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/chars.c b/src/chars.c
@@ -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)) {
diff --git a/src/nano.c b/src/nano.c
@@ -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);