updated for version 7.4.212

Problem:    Now that the +visual feature is always enabled the #ifdefs for it
            are not useful.
Solution:   Remove the checks for FEAT_VISUAL.
This commit is contained in:
Bram Moolenaar
2014-03-23 15:13:05 +01:00
parent a687837516
commit f7ff6e85e8
39 changed files with 121 additions and 858 deletions

View File

@ -78,9 +78,7 @@ clip_mch_request_selection(VimClipboard *cbd)
default: /* fallthrough to line type */
case 'L': type = MLINE; break;
case 'C': type = MCHAR; break;
#ifdef FEAT_VISUAL
case 'B': type = MBLOCK; break;
#endif
}
is_type_set = TRUE;
}
@ -143,9 +141,7 @@ clip_mch_set_selection(VimClipboard *cbd)
default: /* fallthrough to MLINE */
case MLINE: *vim_clip = 'L'; break;
case MCHAR: *vim_clip = 'C'; break;
#ifdef FEAT_VISUAL
case MBLOCK: *vim_clip = 'B'; break;
#endif
}
vim_strncpy(text_clip, str, len);