Ignore:
Timestamp:
Apr 22, 2011, 4:13:04 AM (11 years ago)
Author:
Sam Hocevar
Message:

imlib: some cleaning up in trans_image before I templatise half of it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/loader2.cpp

    r523 r527  
    455455  ERROR(big_font_pict!=-1 || small_font_pict!=-1,
    456456    "No font loaded (use load_big_font or load_small_font)!");
    457   f_wid=cache.foret(foretiles[0])->im->width();
    458   f_hi=cache.foret(foretiles[0])->im->height();
     457  f_wid=cache.foret(foretiles[0])->im->Size().x;
     458  f_hi=cache.foret(foretiles[0])->im->Size().y;
    459459  b_wid=cache.backt(backtiles[0])->im->Size().x;
    460460  b_hi=cache.backt(backtiles[0])->im->Size().y;
Note: See TracChangeset for help on using the changeset viewer.