Oops, cut/paste could be done on tthe WRONG vty :(

pointed out by Kazu.
This commit is contained in:
sos 1997-02-13 11:58:49 +00:00
parent ee31713d14
commit be3d2adfd8
3 changed files with 3 additions and 3 deletions

View File

@ -878,7 +878,7 @@ scioctl(dev_t dev, int cmd, caddr_t data, int flag, struct proc *p)
/* process button presses */
if (cur_console->mouse_buttons != mouse->u.data.buttons) {
cur_console->mouse_buttons = mouse->u.data.buttons;
if (!(scp->status & UNKNOWN_MODE)) {
if (!(cur_console->status & UNKNOWN_MODE)) {
if (cur_console->mouse_buttons & LEFT_BUTTON)
mouse_cut_start(cur_console);
else

View File

@ -878,7 +878,7 @@ scioctl(dev_t dev, int cmd, caddr_t data, int flag, struct proc *p)
/* process button presses */
if (cur_console->mouse_buttons != mouse->u.data.buttons) {
cur_console->mouse_buttons = mouse->u.data.buttons;
if (!(scp->status & UNKNOWN_MODE)) {
if (!(cur_console->status & UNKNOWN_MODE)) {
if (cur_console->mouse_buttons & LEFT_BUTTON)
mouse_cut_start(cur_console);
else

View File

@ -878,7 +878,7 @@ scioctl(dev_t dev, int cmd, caddr_t data, int flag, struct proc *p)
/* process button presses */
if (cur_console->mouse_buttons != mouse->u.data.buttons) {
cur_console->mouse_buttons = mouse->u.data.buttons;
if (!(scp->status & UNKNOWN_MODE)) {
if (!(cur_console->status & UNKNOWN_MODE)) {
if (cur_console->mouse_buttons & LEFT_BUTTON)
mouse_cut_start(cur_console);
else