archivers/zip.c
changeset 468 ac9c7e9626d3
parent 467 99664d9842cb
child 470 27119d6e5d40
equal deleted inserted replaced
467:99664d9842cb 468:ac9c7e9626d3
  1258 
  1258 
  1259 
  1259 
  1260 static int ZIP_isDirectory(DirHandle *h, const char *name, int *fileExists)
  1260 static int ZIP_isDirectory(DirHandle *h, const char *name, int *fileExists)
  1261 {
  1261 {
  1262     ZIPinfo *info = (ZIPinfo *) h->opaque;
  1262     ZIPinfo *info = (ZIPinfo *) h->opaque;
  1263     PHYSFS_uint32 pos;
  1263     PHYSFS_sint32 pos;
  1264     ZIPentry *entry;
  1264     ZIPentry *entry;
  1265 
  1265 
  1266     pos = zip_find_start_of_dir(info, name, 1);
  1266     pos = zip_find_start_of_dir(info, name, 1);
  1267     if (pos >= 0)
  1267     if (pos >= 0)
  1268     {
  1268     {