projects
/
platform
/
upstream
/
libexif.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a2e6c4
)
fixed typo (typical vi failure)
author
Jörg Hoh
<hohjg@users.sourceforge.net>
Tue, 18 May 2004 12:27:38 +0000
(14:27 +0200)
committer
Jörg Hoh
<hohjg@users.sourceforge.net>
Tue, 18 May 2004 12:27:38 +0000
(14:27 +0200)
libexif/exif-data.c
patch
|
blob
|
history
diff --git
a/libexif/exif-data.c
b/libexif/exif-data.c
index
6c5989c
..
a41202c
100644
(file)
--- a/
libexif/exif-data.c
+++ b/
libexif/exif-data.c
@@
-677,7
+677,7
@@
exif_data_load_data (ExifData *data, const unsigned char *d_orig,
/* Pentax & some variant of Nikon */
if ((e->size >= 2) && (e->data[0] == 0x00)
&& (e->data[1] == 0x1b)) {
- if (em && !strn
i
cmp (exif_entry_get_value (em, value, sizeof(value)), "Nikon", 5)) {
+ if (em && !strncmp (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 ();