| 533 | } |
| 534 | |
| 535 | static char *GetExt(char *file) |
| 536 | { |
| 537 | if(!file) |
| 538 | return NULL; |
| 539 | |
| 540 | char *ext = strrchr(file,'.'); |
| 541 | if(ext != NULL) |
| 542 | { |
| 543 | ext++; |
| 544 | int extlen = strlen(ext); |
| 545 | if(extlen > 5) |
| 546 | return NULL; |
| 547 | } |
| 548 | return ext; |
| 549 | } |
| 550 | |
| 551 | void FindAndSelectLastLoadedFile () |
| 552 | { |