summaryrefslogtreecommitdiff
path: root/indra/newview/llfilepicker_mac.mm
diff options
context:
space:
mode:
authorCinder <cinder.roxley@phoenixviewer.com>2014-06-07 14:14:29 -0600
committerCinder <cinder.roxley@phoenixviewer.com>2014-06-07 14:14:29 -0600
commit79e0e7d2980b28660716f43d0f0518a107117e83 (patch)
treea5d506aa55aa6970b46ff1e493b6d5f9cb410470 /indra/newview/llfilepicker_mac.mm
parente6b20328c2e25223359dede17357682b5b4e7ea1 (diff)
parent98720c3cec8f1ab4af5e66f9d9b7bb9c277b78f1 (diff)
Merge upstream
Diffstat (limited to 'indra/newview/llfilepicker_mac.mm')
-rw-r--r--indra/newview/llfilepicker_mac.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfilepicker_mac.mm b/indra/newview/llfilepicker_mac.mm
index 13757904e3..1438e4dc0a 100644
--- a/indra/newview/llfilepicker_mac.mm
+++ b/indra/newview/llfilepicker_mac.mm
@@ -107,7 +107,7 @@ std::string* doSaveDialog(const std::string* file,
NSSavePanel *panel = [NSSavePanel savePanel];
NSString *extensionns = [NSString stringWithCString:extension->c_str() encoding:[NSString defaultCStringEncoding]];
- NSArray *fileType = [[NSArray alloc] initWithObjects:extensionns,nil];
+ NSArray *fileType = [extensionns componentsSeparatedByString:@","];
//[panel setMessage:@"Save Image File"];
[panel setTreatsFilePackagesAsDirectories: ( flags & F_NAV_SUPPORT ) ];