equal
deleted
inserted
replaced
287 if (p == NULL) |
287 if (p == NULL) |
288 { |
288 { |
289 QPAKdirectory *thisDir = root->dirs; |
289 QPAKdirectory *thisDir = root->dirs; |
290 while (thisDir != NULL) |
290 while (thisDir != NULL) |
291 { |
291 { |
292 if (strcmp(thisDir->name, name) == 0) |
292 if (__PHYSFS_platformStricmp(thisDir->name, name) == 0) |
293 return(thisDir); |
293 return(thisDir); |
294 thisDir = thisDir->next; |
294 thisDir = thisDir->next; |
295 } /* while */ |
295 } /* while */ |
296 } /* if */ |
296 } /* if */ |
297 |
297 |
303 strncpy (temp, name, p - name); |
303 strncpy (temp, name, p - name); |
304 temp[p - name] = '\0'; |
304 temp[p - name] = '\0'; |
305 |
305 |
306 while (thisDir != NULL) |
306 while (thisDir != NULL) |
307 { |
307 { |
308 if (strcmp(thisDir->name, temp) == 0) |
308 if (__PHYSFS_platformStricmp(thisDir->name, temp) == 0) |
309 return(qpak_findDirectory(thisDir, p + 1)); |
309 return(qpak_findDirectory(thisDir, p + 1)); |
310 thisDir = thisDir->next; |
310 thisDir = thisDir->next; |
311 } /* while */ |
311 } /* while */ |
312 } /* else */ |
312 } /* else */ |
313 |
313 |
385 |
385 |
386 thisFile = dir->files; |
386 thisFile = dir->files; |
387 |
387 |
388 while (thisFile != NULL) |
388 while (thisFile != NULL) |
389 { |
389 { |
390 if (strcmp(thisFile->name, t) == 0) |
390 if (__PHYSFS_platformStricmp(thisFile->name, t) == 0) |
391 return(thisFile->entry); |
391 return(thisFile->entry); |
392 |
392 |
393 thisFile = thisFile->next; |
393 thisFile = thisFile->next; |
394 } /* while */ |
394 } /* while */ |
395 |
395 |
396 BAIL_MACRO(ERR_NO_SUCH_FILE, 0); |
396 BAIL_MACRO(ERR_NO_SUCH_FILE, 0); |