Changeset 1349


Ignore:
Timestamp:
Nov 11, 2006, 6:55:11 PM (16 years ago)
Author:
Sam Hocevar
Message:
  • Fixed a bug in the caca importer.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/cucul/import.c

    r1347 r1349  
    286286
    287287    cv->curattr = sscanu32(buf + 4 + 16 + 12);
    288     cv->frames[0].x = (int32_t)sscanu32(buf + 4 + 16 + f * 24 + 16);
    289     cv->frames[0].y = (int32_t)sscanu32(buf + 4 + 16 + f * 24 + 20);
    290     cv->frames[0].handlex = (int32_t)sscanu32(buf + 4 + 16 + f * 24 + 24);
    291     cv->frames[0].handley = (int32_t)sscanu32(buf + 4 + 16 + f * 24 + 28);
     288    cv->frames[0].x = (int32_t)sscanu32(buf + 4 + 16 + 0 * 24 + 16);
     289    cv->frames[0].y = (int32_t)sscanu32(buf + 4 + 16 + 0 * 24 + 20);
     290    cv->frames[0].handlex = (int32_t)sscanu32(buf + 4 + 16 + 0 * 24 + 24);
     291    cv->frames[0].handley = (int32_t)sscanu32(buf + 4 + 16 + 0 * 24 + 28);
    292292
    293293    return 4 + control_size + data_size;
Note: See TracChangeset for help on using the changeset viewer.