summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2018-01-10 17:46:13 +0000
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2018-01-10 17:46:13 +0000
commit778ec4a257611438ea969b7f848734faaef86211 (patch)
tree195cdb05ed33e357f71554b7a1648c97406ad13c
parente8818a3677f8af440456abec77cf31e7621fb9fa (diff)
parent3cf0d2b635ae04ca6d3c5a77f7cd3aca11444dcf (diff)
Merged in MAINT-8167 (pull request #478)
Fixed: uploading JPEG image from Unicode directory fails Approved-by: Andrey Lihatskiy <andreylproductengine@lindenlab.com> Approved-by: Simon Linden <simon@lindenlab.com>
-rw-r--r--indra/llimage/llimagedimensionsinfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llimage/llimagedimensionsinfo.cpp b/indra/llimage/llimagedimensionsinfo.cpp
index a5e546e977..97b543f3b6 100644
--- a/indra/llimage/llimagedimensionsinfo.cpp
+++ b/indra/llimage/llimagedimensionsinfo.cpp
@@ -163,7 +163,7 @@ bool LLImageDimensionsInfo::getImageDimensionsJpeg()
{
sJpegErrorEncountered = false;
clean();
- FILE *fp = fopen (mSrcFilename.c_str(), "rb");
+ FILE *fp = LLFile::fopen(mSrcFilename, "rb");
if (fp == NULL)
{
setLastError("Unable to open file for reading", mSrcFilename);