summaryrefslogtreecommitdiff
path: root/indra/newview/llfilepicker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llfilepicker.cpp')
-rw-r--r--indra/newview/llfilepicker.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llfilepicker.cpp b/indra/newview/llfilepicker.cpp
index c73b3315cc..5fd0c4ca06 100644
--- a/indra/newview/llfilepicker.cpp
+++ b/indra/newview/llfilepicker.cpp
@@ -216,6 +216,8 @@ BOOL LLFilePicker::getMultipleOpenFiles(ELoadFilter filter)
mCurrentFile = mFiles;
LLString tstr = utf16str_to_utf8str(llutf16string(mFilesW));
memcpy(mFiles, tstr.c_str(), tstr.size()+1); /*Flawfinder: ignore*/
+
+ mCurrentFile = &mFiles[mOFN.nFileOffset];
}
else
{