]> git.wh0rd.org Git - nano.git/commitdiff
cosmetic fix
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Sat, 20 May 2006 13:11:56 +0000 (13:11 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Sat, 20 May 2006 13:11:56 +0000 (13:11 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3531 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/text.c

index e30ee203f106094c430a8238d8db603f47908552..e8d986572b191c6c25fed5504822ccdab4caca01 100644 (file)
@@ -846,13 +846,13 @@ ssize_t break_line(const char *line, ssize_t goal
        || (newline && *line == '\n')
 #endif
        )) {
-       line_len = parse_mbchar(line, NULL, NULL);
-
 #ifndef DISABLE_HELP
        if (newline && *line == '\n')
            break;
 #endif
 
+       line_len = parse_mbchar(line, NULL, NULL);
+
        line += line_len;
        blank_loc += line_len;
     }