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:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user