From: David Lawrence Ramsey Date: Wed, 30 Nov 2005 16:41:54 +0000 (+0000) Subject: cosmetic fix X-Git-Tag: v1.3.10~16 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=783062a0cc1d3050f69e4f3bd23960d686fda1c3;p=nano.git cosmetic fix git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3230 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- 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;