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();