mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
clipboard: fixup inconsequential yet embarrassing mixup
This commit is contained in:
parent
5a19585865
commit
162361abac
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user