version 1.1, 2009/06/01 22:58:49 |
version 1.2, 2009/07/02 16:15:43 |
|
|
/* Find start and end. */ |
/* Find start and end. */ |
xx = data->cx + data->ox; |
xx = data->cx + data->ox; |
yy = screen_hsize(&wp->base) + data->cy - data->oy; |
yy = screen_hsize(&wp->base) + data->cy - data->oy; |
if (xx < data->selx || (yy == data->sely && xx < data->selx)) { |
if (yy < data->sely || (yy == data->sely && xx < data->selx)) { |
sx = xx; sy = yy; |
sx = xx; sy = yy; |
ex = data->selx; ey = data->sely; |
ex = data->selx; ey = data->sely; |
} else { |
} else { |