Hi Bram,
this patch fixes this item from the todo list:
,----
| Win32: ":dis +" shows nothing, but "+p does insert text. Problem with
| * and "+ being the same thing?
`----
regards,
Christian
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
diff --git a/src/ops.c b/src/ops.c
--- a/src/ops.c
+++ b/src/ops.c
@@ -3979,6 +3979,12 @@
for (i = -1; i < NUM_REGISTERS && !got_int; ++i)
{
name = get_register_name(i);
+
+#ifndef FEAT_X11 && ifdef FEAT_CLIPBOARD
+ if (arg != NULL && name == '*' && *arg == '+')
+ name = '+';
+#endif
+
if (arg != NULL && vim_strchr(arg, name) == NULL)
continue; /* did not ask for this register */