More appropriate buffer sizes

This commit is contained in:
Bert 2011-02-14 19:22:02 +01:00
parent 788db666be
commit cfed65d36f
2 changed files with 2 additions and 2 deletions

2
main.c
View File

@ -41,7 +41,7 @@ img_t img;
win_t win; win_t win;
#define DNAME_CNT 512 #define DNAME_CNT 512
#define FNAME_CNT 4096 #define FNAME_CNT 1024
const char **filenames; const char **filenames;
int filecnt, fileidx; int filecnt, fileidx;
size_t filesize; size_t filesize;

2
util.c
View File

@ -22,7 +22,7 @@
#include "options.h" #include "options.h"
#include "util.h" #include "util.h"
#define FNAME_LEN 10 #define FNAME_LEN 512
void cleanup(); void cleanup();