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:
d083c06
)
exif_mnote_data_pentax_get_value: Fixed flipped inequation causing all value requests...
author
Jan Patera
<patera@pictview.com>
Mon, 1 Mar 2004 11:56:37 +0000
(12:56 +0100)
committer
Jan Patera
<patera@pictview.com>
Mon, 1 Mar 2004 11:56:37 +0000
(12:56 +0100)
libexif/pentax/exif-mnote-data-pentax.c
patch
|
blob
|
history
diff --git
a/libexif/pentax/exif-mnote-data-pentax.c
b/libexif/pentax/exif-mnote-data-pentax.c
index 7cb3d0762d1038fcdeef1e418b481d68327325f4..732b650fd1b269acf4c5ac77b363c0536126741f 100644
(file)
--- a/
libexif/pentax/exif-mnote-data-pentax.c
+++ b/
libexif/pentax/exif-mnote-data-pentax.c
@@
-63,7
+63,7
@@
exif_mnote_data_pentax_get_value (ExifMnoteData *d, unsigned int i, char *val, u
ExifMnoteDataPentax *n = (ExifMnoteDataPentax *) d;
if (!n) return NULL;
- if (n->count
>
= i) return NULL;
+ if (n->count
<
= i) return NULL;
return mnote_pentax_entry_get_value (&n->entries[i], val, maxlen);
}