Comment #4 on issue 193 by [email protected]: Insert in Visual mode gives wrong result
http://code.google.com/p/vim/issues/detail?id=193

The patch posted by Christian Brabandt in vim-dev (on Jan 16, 2014) fixes the bug.

However, Christian's patch contains a small mistake: variable update_Insstart_orig is defined in between #ifdef FEAT_INS_EXPAND, yet it is used outside #ifdef FEAT_INS_EXPAND. So it fails to compile with vim tiny (configure --with-features=tiny):

edit.c:346:5: error: use of undeclared identifier 'update_Insstart_orig'
    update_Insstart_orig = TRUE;
    ^
edit.c:639:6: error: use of undeclared identifier 'update_Insstart_orig'
        if (update_Insstart_orig)
            ^

Attached patch is a minor correction of Christian's patch so that
it builds successfully with vim tiny.


Attachments:
        fix-bug-193.patch  3.4 KB

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
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/groups/opt_out.

Raspunde prin e-mail lui