mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00:00
clipboard: fixup inconsequential yet embarrassing mixup
This commit is contained in:
@@ -5279,10 +5279,10 @@ static yankreg_T *adjust_clipboard_name(int *name, bool quiet)
|
|||||||
yankreg_T *target;
|
yankreg_T *target;
|
||||||
if (cb_flags & CB_UNNAMEDPLUS) {
|
if (cb_flags & CB_UNNAMEDPLUS) {
|
||||||
*name = '+';
|
*name = '+';
|
||||||
target = &y_regs[STAR_REGISTER];
|
target = &y_regs[PLUS_REGISTER];
|
||||||
} else {
|
} else {
|
||||||
*name = '*';
|
*name = '*';
|
||||||
target = &y_regs[PLUS_REGISTER];
|
target = &y_regs[STAR_REGISTER];
|
||||||
}
|
}
|
||||||
return target; // unnamed register
|
return target; // unnamed register
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user