> I guess, we could use the 'S' type for printf() to specify length is 
> given in char (see patch).

I actually never need characters in this case. What is *really* needed is 
called “display cell”. I see that your patch uses right this, but documentation 
states it uses characters.

Second is that you should probably fall back to %s in case vim is compiled 
without +mbyte, not make %S an error (well, not %S itself, but number of 
arguments).

And tests. Though this is easy.

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui