SL-20799 FIXED Viewer crashes when trying to save snapshot on disc without empty space
parent
5c412a2b70
commit
5771736bd2
|
|
@ -2259,9 +2259,9 @@ bool LLImageFormatted::save(const std::string &filename)
|
|||
return false;
|
||||
}
|
||||
|
||||
outfile.write(getData(), getDataSize());
|
||||
S32 result = outfile.write(getData(), getDataSize());
|
||||
outfile.close() ;
|
||||
return true;
|
||||
return (result != 0);
|
||||
}
|
||||
|
||||
S8 LLImageFormatted::getCodec() const
|
||||
|
|
|
|||
Loading…
Reference in New Issue