diff options
author | Geenz <geenz@geenzo.com> | 2013-07-11 19:43:02 -0400 |
---|---|---|
committer | Geenz <geenz@geenzo.com> | 2013-07-11 19:43:02 -0400 |
commit | d68f254c66cc2c971cda14c59f8d16e8c44586d6 (patch) | |
tree | cef8fee81e48f9f58972c804ad98bb5967c9c493 /indra/newview/llfilepicker_mac.mm | |
parent | dc7d287717ed42d1d8aa8b57cfd740ca75fe9e7b (diff) |
OPEN-171: the save file dialog incorrectly uses type codes as extensions
Diffstat (limited to 'indra/newview/llfilepicker_mac.mm')
-rw-r--r-- | indra/newview/llfilepicker_mac.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfilepicker_mac.mm b/indra/newview/llfilepicker_mac.mm index d8862bce57..c41639fbd5 100644 --- a/indra/newview/llfilepicker_mac.mm +++ b/indra/newview/llfilepicker_mac.mm @@ -106,8 +106,8 @@ std::string* doSaveDialog(const std::string* file, { NSSavePanel *panel = [NSSavePanel savePanel]; - NSString *typens = [NSString stringWithCString:type->c_str() encoding:[NSString defaultCStringEncoding]]; - NSArray *fileType = [[NSArray alloc] initWithObjects:typens,nil]; + NSString *extensionns = [NSString stringWithCString:extension->c_str() encoding:[NSString defaultCStringEncoding]]; + NSArray *fileType = [[NSArray alloc] initWithObjects:extensionns,nil]; //[panel setMessage:@"Save Image File"]; [panel setTreatsFilePackagesAsDirectories: ( flags & F_NAV_SUPPORT ) ]; |