Make the comparsion more obvious.

This commit is contained in:
Xin LI 2007-05-25 13:13:12 +00:00
parent eb2b3d109a
commit 77a20b72ef

View File

@ -444,7 +444,8 @@ mouse_cut_start(scr_stat *scp)
if (scp->status & MOUSE_VISIBLE) {
sc_remove_all_cutmarkings(scp->sc);
if (scp->mouse_pos == scp->mouse_cut_start == scp->mouse_cut_end) {
if ((scp->mouse_pos == scp->mouse_cut_start) &&
(scp->mouse_pos == scp->mouse_cut_end)) {
cut_buffer[0] = '\0';
return;
} else if (skip_spc_right(scp, scp->mouse_pos) >= scp->xsize) {