diff options
author | andreykproductengine <andreykproductengine@lindenlab.com> | 2018-01-10 18:51:20 +0200 |
---|---|---|
committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2018-01-10 18:51:20 +0200 |
commit | 6ac2b2bb4f569b6663607894034b4ec64804e905 (patch) | |
tree | 4391a6e38515527c543fda6496c79cd92a613779 /indra/llimage | |
parent | 472decad98ef8da6a7e3b992c193fdb0c93f9878 (diff) |
MAINT-8167 Fixed uploading JPEG image from Unicode directory fails
Diffstat (limited to 'indra/llimage')
-rw-r--r-- | indra/llimage/llimagedimensionsinfo.cpp | 2 |
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); |