Ignore:
Timestamp:
Apr 26, 2008, 10:41:43 AM (13 years ago)
Author:
Sam Hocevar
Message:
  • Step 2 of the code reorganisation: move each font to its corresponding decoder's subdirectory.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pwntcha/trunk/src/xanga/decoder.c

    r2317 r2318  
    121121    static char *files[] =
    122122    {
    123         "x_font_freemonobold_32_az.bmp", "abcdefghijklmnopqrstuvwxyz",
    124         "x_font_freemonobold_24_az.bmp", "abcdefghijklmnopqrstuvwxyz",
    125         "x_font_freesansbold_32_az.bmp", "abcdefghijklmnopqrstuvwxyz",
    126         //"x_font_freeserifbold_32_az.bmp", "abcdefghijklmnopqrstuvwxyz",
    127         "x_font_comic_32_az.bmp", "abcdefghijklmnopqrstuvwxyz",
    128         "x_font_comic_24_az_messed.bmp", "abcdefghijklmnopqrstuvwxyz",
    129         "x_font_freesansbold_36_az_messed.bmp", "abcdefghijklmnopqrstuvwxyz",
     123        "x_freemonobold_32_az.bmp", "abcdefghijklmnopqrstuvwxyz",
     124        "x_freemonobold_24_az.bmp", "abcdefghijklmnopqrstuvwxyz",
     125        "x_freesansbold_32_az.bmp", "abcdefghijklmnopqrstuvwxyz",
     126        //"x_freeserifbold_32_az.bmp", "abcdefghijklmnopqrstuvwxyz",
     127        "x_comic_32_az.bmp", "abcdefghijklmnopqrstuvwxyz",
     128        "x_comic_24_az_messed.bmp", "abcdefghijklmnopqrstuvwxyz",
     129        "x_freesansbold_36_az_messed.bmp", "abcdefghijklmnopqrstuvwxyz",
    130130    };
    131131    struct image *tmp;
     
    139139        if(!fonts[f])
    140140        {
    141             fonts[f] = font_load_variable(files[f * 2], files[f * 2 + 1]);
     141            fonts[f] = font_load_variable(DECODER,
     142                                          files[f * 2], files[f * 2 + 1]);
    142143            if(!fonts[f])
    143144                exit(1);
Note: See TracChangeset for help on using the changeset viewer.