I changed it to strncasecmp. Hopefully non-*nix developers will
be able to replace it with strnicmp (e.g. via define in their config.h)
/* Pentax & some variant of Nikon */
if ((e->size >= 2) && (e->data[0] == 0x00)
&& (e->data[1] == 0x1b)) {
- if (em && !strncmp (exif_entry_get_value (em, value, sizeof(value)), "Nikon", 5)) {
+ if (em && !strncasecmp (exif_entry_get_value (em, value, sizeof(value)), "Nikon", 5)) {
data->priv->md = exif_mnote_data_olympus_new ();
} else {
data->priv->md = exif_mnote_data_pentax_new ();