Ignore:
Timestamp:
Apr 26, 2008, 10:41:43 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Step 2 of the code reorganisation: move each font to its corresponding decoder's subdirectory.
Location:
pwntcha/trunk/src/authimage
Files:
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • pwntcha/trunk/src/authimage/Makefile.am

    r2317 r2318  
     1
     2DECODER = authimage
    13
    24noinst_LIBRARIES = libdecoder.a
    35
    46libdecoder_a_SOURCES = decoder.c
    5 libdecoder_a_CPPFLAGS = -I$(srcdir)/..
     7libdecoder_a_CPPFLAGS = -I$(srcdir)/.. -DDECODER=\"$(DECODER)\"
    68
     9EXTRA_DIST = font.png
     10
  • pwntcha/trunk/src/authimage/decoder.c

    r2317 r2318  
    3030    if(!font)
    3131    {
    32         font = font_load_fixed("font_authimage.png",
     32        font = font_load_fixed(DECODER, "font.png",
    3333                               "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ");
    3434        if(!font)
Note: See TracChangeset for help on using the changeset viewer.