Patch 7.2a.015 (after 7.2a.010)
Problem: Misaligned messages.
Solution: Compute length of unprintable chars correctly.
Files: src/message.c
*** ../vim-7.2a.014/src/message.c Sun Jun 29 16:15:20 2008
--- src/message.c Mon Jun 30 22:50:32 2008
***************
*** 1390,1397 ****
attr);
plain_start = str + 1;
msg_puts_attr(s, attr == 0 ? hl_attr(HLF_8) : attr);
}
! retval += char2cells(*str);
++str;
}
}
--- 1390,1399 ----
attr);
plain_start = str + 1;
msg_puts_attr(s, attr == 0 ? hl_attr(HLF_8) : attr);
+ retval += STRLEN(s);
}
! else
! ++retval;
++str;
}
}
*** ../vim-7.2a.014/src/version.c Fri Jul 4 18:51:00 2008
--- src/version.c Sun Jul 6 19:14:31 2008
***************
*** 678,679 ****
--- 678,681 ----
{ /* Add new patch number below this line */
+ /**/
+ 15,
/**/
--
hundred-and-one symptoms of being an internet addict:
167. You have more than 200 websites bookmarked.
/// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---