]> git.wh0rd.org Git - nano.git/commitdiff
cosmetic fix
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Wed, 30 Nov 2005 16:41:54 +0000 (16:41 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Wed, 30 Nov 2005 16:41:54 +0000 (16:41 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3230 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/chars.c

index 977fb09ce55eeb3d666fc9282155a909f1e50ef1..cb593c0194107d19e45f3e065797f131c21b0507 100644 (file)
@@ -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;