Problem: Mode() result after usign "r" depends on whether CURSOR_SHAPE is
defined. (Christian Brabandt)
Solution: Move the #ifdef to only skip ui_cursor_shape().
*/
if (cp != NULL)
{
-#ifdef CURSOR_SHAPE
if (repl)
{
State = REPLACE; /* pretend Replace mode */
+#ifdef CURSOR_SHAPE
ui_cursor_shape(); /* show different cursor shape */
- }
#endif
+ }
if (lang && curbuf->b_p_iminsert == B_IMODE_LMAP)
{
/* Allow mappings defined with ":lmap". */
}
p_smd = save_smd;
#endif
-#ifdef CURSOR_SHAPE
State = NORMAL_BUSY;
-#endif
#ifdef FEAT_CMDL_INFO
need_flushbuf |= add_to_showcmd(*cp);
#endif
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2237,
/**/
2236,
/**/