idf in osx open

This commit is contained in:
p.kosyh 2011-04-29 12:05:23 +00:00
parent a50eb6b6f9
commit eba45850a4

View file

@ -174,7 +174,7 @@ char *open_file_dialog(void)
{
const char *filename;
static char *file_name[PATH_MAX];
NSArray* fileTypes = [NSArray arrayWithObjects: @"zip", @"lua", nil];
NSArray* fileTypes = [NSArray arrayWithObjects: @"zip", @"lua", @"idf", nil];
NSOpenPanel * panel = [NSOpenPanel openPanel];
[panel setCanChooseDirectories:NO];