Commit 93aaa489 authored by dirk's avatar dirk

Fixed setting mimeType.

parent ff5aa3a6
......@@ -58,7 +58,7 @@ Magick::CoderInfo::CoderInfo ( const std::string &name_ )
{
_name = string(magickInfo->name);
_description = string(magickInfo->description);
_mimeType = string(magickInfo->mime_type);
_mimeType = string(magickInfo->mime_type ? magickInfo->mime_type : "");
_isReadable = ((magickInfo->decoder == 0) ? false : true);
_isWritable = ((magickInfo->encoder == 0) ? false : true);
_isMultiFrame = ((magickInfo->adjoin == 0) ? false : true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment