commit | cdfd3e424a0634fe3133b94c2e75737f371c08fc | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Nov 08 09:35:50 2007 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Nov 08 09:35:50 2007 +0000 |
tree | 4216892f95059f964f0e995e4e993a13c8008cd5 | |
parent | 9b25ffbb2b2210d8a27316ba38ff100713504285 [diff] [blame] |
updated for version 7.1-150
diff --git a/src/ops.c b/src/ops.c index 8f00314..ea5e20b 100644 --- a/src/ops.c +++ b/src/ops.c
@@ -933,9 +933,10 @@ #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