Mercurial > vim
changeset 1435:2cdccc96d730 v7.1.150
updated for version 7.1-150
author | vimboss |
---|---|
date | Thu, 08 Nov 2007 09:35:50 +0000 |
parents | 40aa7ae37901 |
children | 77310929a1f9 |
files | src/ops.c src/version.c |
diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ops.c +++ b/src/ops.c @@ -933,9 +933,10 @@ get_register(name, copy) #ifdef FEAT_CLIPBOARD /* When Visual area changed, may have to update selection. Obtain the * selection too. */ - if (name == '*' && clip_star.available && clip_isautosel()) + if (name == '*' && clip_star.available) { - clip_update_selection(); + if (clip_isautosel()) + clip_update_selection(); may_get_selection(name); } #endif