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>meow-7.2.2
commit
778ec4a257
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue