summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2018-01-10 18:51:20 +0200
committerandreykproductengine <andreykproductengine@lindenlab.com>2018-01-10 18:51:20 +0200
commit3cf0d2b635ae04ca6d3c5a77f7cd3aca11444dcf (patch)
tree44b1772d57d2aee04955bb699aac0f984ba7076d /indra
parentfadb3792caa5279d3521dcaad44a6211bfa4bfad (diff)
MAINT-8167 Fixed uploading JPEG image from Unicode directory fails
Diffstat (limited to 'indra')
-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);