Changeset 2318 for pwntcha/trunk/src/tickets
- Timestamp:
- Apr 26, 2008, 10:41:43 AM (14 years ago)
- Location:
- pwntcha/trunk/src/tickets
- Files:
-
- 2 edited
- 8 moved
Legend:
- Unmodified
- Added
- Removed
-
pwntcha/trunk/src/tickets/Makefile.am
r2317 r2318 1 2 DECODER = tickets 1 3 2 4 noinst_LIBRARIES = libdecoder.a 3 5 4 6 libdecoder_a_SOURCES = decoder.c 5 libdecoder_a_CPPFLAGS = -I$(srcdir)/.. 7 libdecoder_a_CPPFLAGS = -I$(srcdir)/.. -DDECODER=\"$(DECODER)\" 6 8 9 EXTRA_DIST = font1.png font2.png font3.png font4.png font5.png font6.png font7.png font8.png 10 -
pwntcha/trunk/src/tickets/decoder.c
r2317 r2318 35 35 { 36 36 char buf[BUFSIZ]; 37 sprintf(buf, "font _tickets%i.png", i + 1);38 fonts[i] = font_load_variable( buf, "0123456789");37 sprintf(buf, "font%i.png", i + 1); 38 fonts[i] = font_load_variable(DECODER, buf, "0123456789"); 39 39 if(!fonts[i]) 40 40 exit(-1);
Note: See TracChangeset
for help on using the changeset viewer.