Skip to content
Snippets Groups Projects
Commit 778ec4a2 authored by Andrey Kleshchev's avatar Andrey Kleshchev
Browse files

Merged in MAINT-8167 (pull request #478)

Fixed: uploading JPEG image from Unicode directory fails

Approved-by: default avatarAndrey Lihatskiy <andreylproductengine@lindenlab.com>
Approved-by: default avatarSimon Linden <simon@lindenlab.com>
parents e8818a36 3cf0d2b6
No related branches found
No related tags found
No related merge requests found
...@@ -163,7 +163,7 @@ bool LLImageDimensionsInfo::getImageDimensionsJpeg() ...@@ -163,7 +163,7 @@ bool LLImageDimensionsInfo::getImageDimensionsJpeg()
{ {
sJpegErrorEncountered = false; sJpegErrorEncountered = false;
clean(); clean();
FILE *fp = fopen (mSrcFilename.c_str(), "rb"); FILE *fp = LLFile::fopen(mSrcFilename, "rb");
if (fp == NULL) if (fp == NULL)
{ {
setLastError("Unable to open file for reading", mSrcFilename); setLastError("Unable to open file for reading", mSrcFilename);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment