diff options
author | paul_productengine <none@none> | 2011-02-01 18:39:24 +0200 |
---|---|---|
committer | paul_productengine <none@none> | 2011-02-01 18:39:24 +0200 |
commit | 1651190c802d5ef31b5b23ba49776f764e2ef52b (patch) | |
tree | 19547461eb4415f863f35b37ca4b9234b0b84232 /indra/newview/llfilepicker.cpp | |
parent | f0074f1002f36ad680ae04daf3f5e026dca31d54 (diff) |
STORM-655 FIXED mismatched filter extension in snapshot floater (jpeg vs jpg)
- Added filter "jpg" for "Save As..." dialog so that *.jpg files can be seen as well as *.jpeg.
Diffstat (limited to 'indra/newview/llfilepicker.cpp')
-rw-r--r-- | indra/newview/llfilepicker.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfilepicker.cpp b/indra/newview/llfilepicker.cpp index f0840774bd..51e76bcf9b 100644 --- a/indra/newview/llfilepicker.cpp +++ b/indra/newview/llfilepicker.cpp @@ -403,9 +403,9 @@ BOOL LLFilePicker::getSaveFile(ESaveFilter filter, const std::string& filename) { wcsncpy( mFilesW,L"untitled.jpeg", FILENAME_BUFFER_SIZE); /*Flawfinder: ignore*/ } - mOFN.lpstrDefExt = L"jpeg"; + mOFN.lpstrDefExt = L"jpg"; mOFN.lpstrFilter = - L"JPEG Images (*.jpeg)\0*.jpeg\0" \ + L"JPEG Images (*.jpg *.jpeg)\0*.jpg;*.jpeg\0" \ L"\0"; break; case FFSAVE_AVI: |