Project

General

Profile

Revision 131

reversed small error

View differences:

sprite.c
13 13
sprite_t* sprite_ctor(const xpm_map_t xpm){
14 14
    sprite_t *ret = (sprite_t*)malloc(sizeof(sprite_t));
15 15
    if(ret == NULL) return NULL;
16
    enum xpm_image_type type = XPM_8_8_8;
16
    enum xpm_image_type type = XPM_INDEXED;
17 17
    xpm_image_t img;
18 18
    ret->map = xpm_load(xpm, type, &img);
19 19
    if(ret->map == NULL){

Also available in: Unified diff