Kaynağa Gözat

More appropriate buffer sizes

master
Bert 14 yıl önce
ebeveyn
işleme
cfed65d36f
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. +1
    -1
      main.c
  2. +1
    -1
      util.c

+ 1
- 1
main.c Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

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




Yükleniyor…
İptal
Kaydet