* Escape image creator/camera model text. (SF Bug #3460941)

This commit is contained in:
Justin Maggard 2011-12-16 21:40:43 +00:00
parent 51ef3a57dd
commit edcdb027d0

View File

@ -601,7 +601,7 @@ GetImageMetadata(const char * path, char * name)
strncpyt(model, exif_entry_get_value(e, b, sizeof(b)), sizeof(model));
if( !strcasestr(model, make) )
snprintf(model, sizeof(model), "%s %s", make, exif_entry_get_value(e, b, sizeof(b)));
m.creator = strdup(model);
m.creator = escape_tag(model, 1);
}
}
//DEBUG DPRINTF(E_DEBUG, L_METADATA, " * model: %s\n", model);