Ignore:
Timestamp:
Nov 12, 2006, 11:26:36 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Fix a bug in cucul_set_canvas_size() that caused the default attribute to be ignored.
File:
1 edited

Legend:

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

    r1362 r1381  
    2828#include "cucul_internals.h"
    2929
    30 static void save_frame_info(cucul_canvas_t *);
    31 static void load_frame_info(cucul_canvas_t *);
    32 
    3330/** \brief Get the number of frames in a canvas.
    3431 *
     
    6865    }
    6966
    70     save_frame_info(cv);
     67    _cucul_save_frame_info(cv);
    7168    cv->frame = frame;
    72     load_frame_info(cv);
     69    _cucul_load_frame_info(cv);
    7370
    7471    return 0;
     
    181178    {
    182179        cv->frame = 0;
    183         load_frame_info(cv);
     180        _cucul_load_frame_info(cv);
    184181    }
    185182
     
    191188 */
    192189
    193 static void save_frame_info(cucul_canvas_t *cv)
     190void _cucul_save_frame_info(cucul_canvas_t *cv)
    194191{
    195192    cv->frames[cv->frame].width = cv->width;
     
    199196}
    200197
    201 static void load_frame_info(cucul_canvas_t *cv)
     198void _cucul_load_frame_info(cucul_canvas_t *cv)
    202199{
    203200    cv->width = cv->frames[cv->frame].width;
Note: See TracChangeset for help on using the changeset viewer.