Changeset 441

Show
Ignore:
Timestamp:
11/25/06 06:50:06 (2 years ago)
Author:
radekk
Message:

Fixing rounding problems in Hand Tool again. I think its final.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sweep/trunk/src/sample-display.c

    r440 r441  
    19081908                   s->view->start, s->view->end, vstart, vend, round(vstart), round(vend)); 
    19091909*/ 
    1910     vstart = round(vstart); 
    1911     vend = round(vend); 
     1910    vstart = round(vstart + (move < 0 ? 0.5 : -0.5)); 
     1911    vend = round(vend + (move < 0 ? 0.5 : -0.5)); 
    19121912 
    19131913    if (s->view->start != vstart && s->view->end != vend)