diff options
author | andreykproductengine <andreykproductengine@lindenlab.com> | 2018-04-26 17:00:45 +0300 |
---|---|---|
committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2018-04-26 17:00:45 +0300 |
commit | bc1642d286dddba7cd3b6c051eb35a5a579ba48c (patch) | |
tree | 663618f53f3280f304ed82dddc636365106c1738 /indra/newview | |
parent | 9241817aedbb8f9ffc24402bb92b8c9df6b2fc49 (diff) |
MAINT-8427 Cache to path convertion fix
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llviewerwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index 2d92f394dd..7e90a35f88 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -4411,9 +4411,9 @@ BOOL LLViewerWindow::saveImageNumbered(LLImageFormatted *image, BOOL force_picke // Check if there is enough free space to save snapshot #ifdef LL_WINDOWS - boost::filesystem::space_info b_space = boost::filesystem::space(utf8str_to_utf16str(sSnapshotDir)); + boost::filesystem::space_info b_space = boost::filesystem::space(utf8str_to_utf16str(snapshot_dir)); #else - boost::filesystem::space_info b_space = boost::filesystem::space(sSnapshotDir); + boost::filesystem::space_info b_space = boost::filesystem::space(snapshot_dir); #endif if (b_space.free < image->getDataSize()) { |