1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: Non-printable characters in 'statusline' cause trouble. (ZyX)
12 Solution: Use transstr(). (partly by Caio Ariede)
16 *** ../vim-7.3.080/src/screen.c 2010-08-15 21:57:32.000000000 +0200
17 --- src/screen.c 2010-12-08 19:27:20.000000000 +0100
24 # ifdef FEAT_SIGN_ICONS
28 /* Draw two cells with the sign value or blank. */
34 # ifdef FEAT_SIGN_ICONS
38 /* Draw two cells with the sign value or blank. */
42 fillchar, maxwidth, hltab, tabtab);
44 - len = (int)STRLEN(buf);
46 while (width < maxwidth && len < (int)sizeof(buf) - 1)
51 fillchar, maxwidth, hltab, tabtab);
54 + /* Make all characters printable. */
58 + vim_strncpy(buf, p, sizeof(buf) - 1);
62 + /* fill up with "fillchar" */
63 + len = (int)STRLEN(buf);
64 while (width < maxwidth && len < (int)sizeof(buf) - 1)
67 *** ../vim-7.3.080/src/version.c 2010-12-08 17:09:27.000000000 +0100
68 --- src/version.c 2010-12-08 19:31:40.000000000 +0100
72 { /* Add new patch number below this line */
78 hundred-and-one symptoms of being an internet addict:
79 6. You refuse to go to a vacation spot with no electricity and no phone lines.
81 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
82 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
83 \\\ an exciting new programming language -- http://www.Zimbu.org ///
84 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///