Changeset 481

Show
Ignore:
Timestamp:
02/03/07 23:51:23 (2 years ago)
Author:
kickback
Message:

replace c99 func round() with ceil()

Files:

Legend:

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

    r469 r481  
    19471947    } 
    19481948     
    1949         vstart = round(vstart + (move < 0 ? 0.5 : -0.5)); 
    1950     vend = round(vend + (move < 0 ? 0.5 : -0.5)); 
     1949        vstart = ceil(vstart + (move < 0 ? 0.5 : -0.5)); 
     1950    vend = ceil(vend + (move < 0 ? 0.5 : -0.5)); 
    19511951 
    19521952    if (s->view->start != vstart && s->view->end != vend)