From cfed65d36fbacf6bec47869c86ea94f1cc49bcb5 Mon Sep 17 00:00:00 2001 From: Bert Date: Mon, 14 Feb 2011 19:22:02 +0100 Subject: [PATCH] More appropriate buffer sizes --- main.c | 2 +- util.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 225861a..46f2cf6 100644 --- a/main.c +++ b/main.c @@ -41,7 +41,7 @@ img_t img; win_t win; #define DNAME_CNT 512 -#define FNAME_CNT 4096 +#define FNAME_CNT 1024 const char **filenames; int filecnt, fileidx; size_t filesize; diff --git a/util.c b/util.c index c23d821..82ab057 100644 --- a/util.c +++ b/util.c @@ -22,7 +22,7 @@ #include "options.h" #include "util.h" -#define FNAME_LEN 10 +#define FNAME_LEN 512 void cleanup();