termptyext.c: remove useless assignments
This commit is contained in:
parent
f56f6cd07e
commit
1e89fcd020
|
@ -119,7 +119,7 @@ _handle_mouse_down(Termpty *ty,
|
||||||
buf += _tytest_modifiers_get(buf, &modifiers);
|
buf += _tytest_modifiers_get(buf, &modifiers);
|
||||||
/* FLAGS */
|
/* FLAGS */
|
||||||
value = 0;
|
value = 0;
|
||||||
buf +=_tytest_arg_get(buf, &value);
|
_tytest_arg_get(buf, &value);
|
||||||
ev.flags = value;
|
ev.flags = value;
|
||||||
|
|
||||||
termio_internal_mouse_down(sd, &ev, modifiers);
|
termio_internal_mouse_down(sd, &ev, modifiers);
|
||||||
|
@ -153,7 +153,7 @@ _handle_mouse_up(Termpty *ty,
|
||||||
buf += _tytest_modifiers_get(buf, &modifiers);
|
buf += _tytest_modifiers_get(buf, &modifiers);
|
||||||
/* FLAGS */
|
/* FLAGS */
|
||||||
value = 0;
|
value = 0;
|
||||||
buf +=_tytest_arg_get(buf, &value);
|
_tytest_arg_get(buf, &value);
|
||||||
ev.flags = value;
|
ev.flags = value;
|
||||||
|
|
||||||
termio_internal_mouse_up(sd, &ev, modifiers);
|
termio_internal_mouse_up(sd, &ev, modifiers);
|
||||||
|
@ -180,7 +180,7 @@ _handle_mouse_move(Termpty *ty,
|
||||||
buf += _tytest_arg_get(buf, &value);
|
buf += _tytest_arg_get(buf, &value);
|
||||||
ev.cur.canvas.y = value;
|
ev.cur.canvas.y = value;
|
||||||
/* MODIFIERS */
|
/* MODIFIERS */
|
||||||
buf += _tytest_modifiers_get(buf, &modifiers);
|
_tytest_modifiers_get(buf, &modifiers);
|
||||||
|
|
||||||
termio_internal_mouse_move(sd, &ev, modifiers);
|
termio_internal_mouse_move(sd, &ev, modifiers);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue