diff options
Diffstat (limited to 'indra/newview/llfilepicker_mac.mm')
-rw-r--r-- | indra/newview/llfilepicker_mac.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfilepicker_mac.mm b/indra/newview/llfilepicker_mac.mm index c41639fbd5..2a84226e0a 100644 --- a/indra/newview/llfilepicker_mac.mm +++ b/indra/newview/llfilepicker_mac.mm @@ -89,7 +89,7 @@ std::vector<std::string>* doLoadDialog(const std::vector<std::string>* allowed_t } for (i=0; i<count; i++) { - NSString *aFile = [filesToOpen objectAtIndex:i]; + NSString *aFile = [[filesToOpen objectAtIndex:i] path]; std::string *afilestr = new std::string([aFile UTF8String]); outfiles->push_back(*afilestr); } |