Browse Source

More appropriate buffer sizes

master
Bert 14 years ago
parent
commit
cfed65d36f
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      main.c
  2. +1
    -1
      util.c

+ 1
- 1
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;


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




Loading…
Cancel
Save