Mercurial > vim
diff src/ops.c @ 1435:2cdccc96d730 v7.1.150
updated for version 7.1-150
author | vimboss |
---|---|
date | Thu, 08 Nov 2007 09:35:50 +0000 |
parents | 871231399cf5 |
children | 71bd485d8fa5 |
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