author | ecalot
<ecalot> 2005-01-24 01:11:47 UTC |
committer | ecalot
<ecalot> 2005-01-24 01:11:47 UTC |
parent | bfe44ee3315955a98314b4c54f96b469208c1103 |
FP/src/Makefile | +2 | -2 |
FP/src/out/output.c | +1 | -1 |
diff --git a/FP/src/Makefile b/FP/src/Makefile index 161037e..90c19c3 100644 --- a/FP/src/Makefile +++ b/FP/src/Makefile @@ -30,7 +30,7 @@ endif #Libraries: include path and linked libs INCLUDE = -Iinclude/ -LIBS = $(shell sdl-config --libs) +LIBS = $(shell sdl-config --libs --cflags) #Defines DEFINES = -DOS=\"$(OS)\" $(LINUX) @@ -281,7 +281,7 @@ include/walls_conf.h: conf/walls.conf conf/awk/walls_conf.awk $(AWK) -f conf/awk/walls_conf.awk conf/walls.conf>include/walls_conf.h include/anims_conf.h: conf/anims.conf conf/awk/anims_conf.awk - $(INFO) Linking animation indexes to the source... + $(INFO) Binding animation indexes to the source... $(AWK) -f conf/awk/anims_conf.awk conf/anims.conf>include/anims_conf.h diff --git a/FP/src/out/output.c b/FP/src/out/output.c index 5670b51..c8dab82 100644 --- a/FP/src/out/output.c +++ b/FP/src/out/output.c @@ -135,7 +135,7 @@ void outputDrawText(int x, int y, const char *fmt, ...) if (fmt == NULL) return; memset (buffer, 0, sizeof(buffer)); va_start (ap, fmt); - vsprintf (buffer, fmt, ap); + vsnprintf (buffer, sizeof(buffer), fmt, ap); va_end (ap); s = buffer;