diff options
Diffstat (limited to 'linden/indra/newview/llfilepicker.cpp')
-rw-r--r-- | linden/indra/newview/llfilepicker.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linden/indra/newview/llfilepicker.cpp b/linden/indra/newview/llfilepicker.cpp index 6233443..af68e21 100644 --- a/linden/indra/newview/llfilepicker.cpp +++ b/linden/indra/newview/llfilepicker.cpp | |||
@@ -216,6 +216,8 @@ BOOL LLFilePicker::getMultipleOpenFiles(ELoadFilter filter) | |||
216 | mCurrentFile = mFiles; | 216 | mCurrentFile = mFiles; |
217 | LLString tstr = utf16str_to_utf8str(llutf16string(mFilesW)); | 217 | LLString tstr = utf16str_to_utf8str(llutf16string(mFilesW)); |
218 | memcpy(mFiles, tstr.c_str(), tstr.size()+1); /*Flawfinder: ignore*/ | 218 | memcpy(mFiles, tstr.c_str(), tstr.size()+1); /*Flawfinder: ignore*/ |
219 | |||
220 | mCurrentFile = &mFiles[mOFN.nFileOffset]; | ||
219 | } | 221 | } |
220 | else | 222 | else |
221 | { | 223 | { |