On Do, 19 Nov 2015, Christ van Willegen wrote:
> On Thu, Nov 19, 2015 at 5:56 PM, Bram Moolenaar <[email protected]> wrote:
> > Patch 7.4.925
>
> > + static void
> > + recording_mode(attr)
> > + int attr;
> > + {
> > + MSG_PUTS_ATTR(_("recording"), attr);
> > + if (!shortmess(SHM_RECORDING))
> > + {
> > + char_u s[4];
> > + sprintf((char *)s, " @%c", Recording);
> > + MSG_PUTS_ATTR(s, attr);
> > + }
> > + }
>
> Is it (perhaps remotely...) possible to record into a register that
> internally translates to a 2-byte value, overflowing the buffer
> allocated to be 4 bytes?
It shouldn't, only [0-9a-z"] are allowed.
Best,
Christian
--
Der Mensch muß außer dem Mitleid für andere auch Rücksicht für sich
haben.
-- Sigmund Freud
--
--
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
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.