From 783062a0cc1d3050f69e4f3bd23960d686fda1c3 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Wed, 30 Nov 2005 16:41:54 +0000 Subject: [PATCH] cosmetic fix git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3230 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/chars.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chars.c b/src/chars.c index 977fb09c..cb593c01 100644 --- a/src/chars.c +++ b/src/chars.c @@ -455,7 +455,7 @@ size_t move_mbleft(const char *buf, size_t pos) while (TRUE) { int buf_mb_len = parse_mbchar(buf + pos - pos_prev, NULL, NULL); - if (pos_prev <= (size_t)buf_mb_len) + if (pos_prev <= buf_mb_len) break; pos_prev -= buf_mb_len; -- 2.39.5