diff options
author | Geenz <geenz@geenzo.com> | 2013-07-23 10:56:59 -0400 |
---|---|---|
committer | Geenz <geenz@geenzo.com> | 2013-07-23 10:56:59 -0400 |
commit | 3c336c0f36966900c234a804d13421d296edccfc (patch) | |
tree | 37f4c7233d3e7dbc3598871328c765cced0b944a /indra/newview/llfilepicker_mac.mm | |
parent | 6ca0bbe3365b3d554789915ac143a87d2d39fdfa (diff) |
Fix for BUG-3363. We have an array of URLs, and we need the paths of those URLs. Explicitly get the path.
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); } |