Ignore:
Timestamp:
May 15, 2011, 5:31:48 PM (11 years ago)
Author:
Sam Hocevar
Message:

imlib: minor refactoring.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/imlib/sprite.cpp

    r661 r662  
    3030void sprite::get_background()
    3131{ if (x+visual->Size().x>=0 && y+visual->Size().y>=0 && x<=xres && y<=yres)
    32    save->PutPart(screen,vec2i(0,0), vec2i(x,y), vec2i(x+save->Size().x-1,y+save->Size().y-1)); }
     32   save->PutPart(screen,vec2i(0,0), vec2i(x,y), vec2i(x+save->Size().x,y+save->Size().y)); }
    3333
    3434void sprite::draw()
Note: See TracChangeset for help on using the changeset viewer.