From: David Lawrence Ramsey Date: Sat, 20 May 2006 13:11:56 +0000 (+0000) Subject: cosmetic fix X-Git-Tag: v1.3.12~149 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=39bd1b3597027c3da37207c07d1399fd3b70e37b;p=nano.git cosmetic fix git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3531 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/text.c b/src/text.c index e30ee203..e8d98657 100644 --- a/src/text.c +++ b/src/text.c @@ -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; }