From 25fb1025e95a7908d7da2b00bc9af1e5082e25b0 Mon Sep 17 00:00:00 2001
From: David Lawrence Ramsey <pooka109@gmail.com>
Date: Thu, 16 Jun 2005 12:43:08 +0000
Subject: [PATCH] fix assert

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2697 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 src/nano.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
-- 
GitLab