clipboard: fixup inconsequential yet embarrassing mixup

This commit is contained in:
Björn Linse 2015-08-05 11:23:11 +02:00
parent 5a19585865
commit 162361abac

View File

@ -5279,10 +5279,10 @@ static yankreg_T *adjust_clipboard_name(int *name, bool quiet)
yankreg_T *target;
if (cb_flags & CB_UNNAMEDPLUS) {
*name = '+';
target = &y_regs[STAR_REGISTER];
target = &y_regs[PLUS_REGISTER];
} else {
*name = '*';
target = &y_regs[PLUS_REGISTER];
target = &y_regs[STAR_REGISTER];
}
return target; // unnamed register
}