diff options
author | rsc <devnull@localhost> | 2004-04-30 02:16:28 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-04-30 02:16:28 +0000 |
commit | b1455f33a8a7b6826fcb0d4b3f4849e322755d28 (patch) | |
tree | f6e2e927fd33ad4fb6442744f85759fa761b1220 /src/cmd/draw | |
parent | be36ff68854c86247fdc769c0eaa89eb284b5ca7 (diff) | |
download | plan9port-b1455f33a8a7b6826fcb0d4b3f4849e322755d28.tar.gz plan9port-b1455f33a8a7b6826fcb0d4b3f4849e322755d28.tar.bz2 plan9port-b1455f33a8a7b6826fcb0d4b3f4849e322755d28.zip |
Little fixes.
Diffstat (limited to 'src/cmd/draw')
-rw-r--r-- | src/cmd/draw/gview.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/draw/gview.c b/src/cmd/draw/gview.c index 5e80ee2a..0508d2dc 100644 --- a/src/cmd/draw/gview.c +++ b/src/cmd/draw/gview.c @@ -1934,9 +1934,9 @@ void doevent(void) if (mobile) { mvtime = ev.mouse.msec + Mv_delay; prepare_mv(cur_sel.fp); + if (!lift_button(1, &ev.mouse, mvtime)) + save_mv(do_move(1, &ev.mouse)); } - if (!lift_button(1, &ev.mouse, mvtime) && mobile) - save_mv(do_move(1, &ev.mouse)); } else if (ev.mouse.buttons & But2) do_emenu(2, &ev.mouse); else if (ev.mouse.buttons & But3) |