nsxivcfed65d
More appropriate buffer sizes
+2 −2
2 files changed
| @@ -41,7 +41,7 @@ img_t img; | |||
| 41 | 41 | win_t win; | |
| 42 | 42 | ||
| 43 | 43 | #define DNAME_CNT 512 | |
| 44 | − | #define FNAME_CNT 4096 | |
| 44 | + | #define FNAME_CNT 1024 | |
| 45 | 45 | const char **filenames; | |
| 46 | 46 | int filecnt, fileidx; | |
| 47 | 47 | size_t filesize; | |
| @@ -22,7 +22,7 @@ | |||
| 22 | 22 | #include "options.h" | |
| 23 | 23 | #include "util.h" | |
| 24 | 24 | ||
| 25 | − | #define FNAME_LEN 10 | |
| 25 | + | #define FNAME_LEN 512 | |
| 26 | 26 | ||
| 27 | 27 | void cleanup(); | |
| 28 | 28 | ||