diff options
author | Jacek Antonelli | 2009-10-13 20:20:37 -0500 |
---|---|---|
committer | Jacek Antonelli | 2009-10-13 20:20:37 -0500 |
commit | 20235c92e6e0deddf3c8582bbed75361e24ecc0d (patch) | |
tree | 754db362c0ad8060ceaa3ed24059e320f4b13f5c /linden/indra/newview/llfilepicker.cpp | |
parent | Merge remote branch 'mccabe/next' into next (diff) | |
parent | Added history button for group chat as well (diff) | |
download | meta-impy-20235c92e6e0deddf3c8582bbed75361e24ecc0d.zip meta-impy-20235c92e6e0deddf3c8582bbed75361e24ecc0d.tar.gz meta-impy-20235c92e6e0deddf3c8582bbed75361e24ecc0d.tar.bz2 meta-impy-20235c92e6e0deddf3c8582bbed75361e24ecc0d.tar.xz |
Merge remote branch 'mccabe/next' into next
Diffstat (limited to 'linden/indra/newview/llfilepicker.cpp')
-rw-r--r-- | linden/indra/newview/llfilepicker.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/linden/indra/newview/llfilepicker.cpp b/linden/indra/newview/llfilepicker.cpp index 954a274..ece30dd 100644 --- a/linden/indra/newview/llfilepicker.cpp +++ b/linden/indra/newview/llfilepicker.cpp | |||
@@ -327,6 +327,18 @@ BOOL LLFilePicker::getSaveFile(ESaveFilter filter, const std::string& filename) | |||
327 | L"Targa, Bitmap Images (*.tga; *.bmp)\0*.tga;*.bmp\0" \ | 327 | L"Targa, Bitmap Images (*.tga; *.bmp)\0*.tga;*.bmp\0" \ |
328 | L"\0"; | 328 | L"\0"; |
329 | break; | 329 | break; |
330 | case FFSAVE_TEXT: | ||
331 | if (filename.empty()) | ||
332 | { | ||
333 | wcsncpy( mFilesW,L"untitled.txt", FILENAME_BUFFER_SIZE); /*Flawfinder: ignore*/ | ||
334 | } | ||
335 | mOFN.lpstrDefExt = L"txt"; | ||
336 | mOFN.lpstrFilter = | ||
337 | L"Text files (*.txt)\0*.txt\0" | ||
338 | L"RTF Files (*.rtf)\0*.rtf\0" | ||
339 | L"LSL Files (*.lsl)\0*.lsl\0" | ||
340 | L"\0"; | ||
341 | break; | ||
330 | case FFSAVE_WAV: | 342 | case FFSAVE_WAV: |
331 | if (filename.empty()) | 343 | if (filename.empty()) |
332 | { | 344 | { |