From: David Lawrence Ramsey Date: Thu, 16 Jun 2005 12:43:08 +0000 (+0000) Subject: fix assert X-Git-Tag: v1.3.8~106 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=25fb1025e95a7908d7da2b00bc9af1e5082e25b0;p=nano.git fix assert git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2697 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/nano.c b/src/nano.c index 307e7bd5..e9035a5e 100644 --- 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(!isblank(paragraph->data[skip])); + assert(!is_blank_mbchar(paragraph->data + skip)); end = paragraph->data + skip; new_paragraph_data = charalloc(strlen(paragraph->data) + 1);