Krolyxon
Commit cfed65d

Branches

Refs →

nsxivcfed65d

More appropriate buffer sizes

Author
Bert
Date
2011-02-14 19:22 +0100
Parent
788db66
Commit
cfed65d36fbacf6bec47869c86ea94f1cc49bcb5

+2 −2

2 files changed

  1. M main.c +1 −1
  2. M util.c +1 −1
M main.c View
@@ -41,7 +41,7 @@ img_t img;
4141 win_t win;
4242
4343 #define DNAME_CNT 512
44−#define FNAME_CNT 4096
44+#define FNAME_CNT 1024
4545 const char **filenames;
4646 int filecnt, fileidx;
4747 size_t filesize;
M util.c View
@@ -22,7 +22,7 @@
2222 #include "options.h"
2323 #include "util.h"
2424
25−#define FNAME_LEN 10
25+#define FNAME_LEN 512
2626
2727 void cleanup();
2828