Changeset 2427


Ignore:
Timestamp:
Jun 15, 2008, 7:06:43 PM (12 years ago)
Author:
Sam Hocevar
Message:
  • Fix cacademo build on systems without imlib-dev.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/common-image.c

    r2411 r2427  
    275275{
    276276    uint8_t buffer[4];
    277     cucul_file_read(buffer, 4, 1, fp);
     277    cucul_file_read(buffer, 4, 1, f);
    278278    return ((unsigned int)buffer[3] << 24) | ((unsigned int)buffer[2] << 16)
    279279             | ((unsigned int)buffer[1] << 8) | ((unsigned int)buffer[0]);
     
    283283{
    284284    uint8_t buffer[2];
    285     cucul_file_read(buffer, 2, 1, fp);
     285    cucul_file_read(buffer, 2, 1, f);
    286286    return ((unsigned int)buffer[1] << 8) | ((unsigned int)buffer[0]);
    287287}
     
    290290{
    291291    uint8_t buffer;
    292     cucul_file_read(&buffer, 1, 1, fp);
     292    cucul_file_read(&buffer, 1, 1, f);
    293293    return (unsigned int)buffer;
    294294}
Note: See TracChangeset for help on using the changeset viewer.