summaryrefslogtreecommitdiff
path: root/camlibs/ptp2/ptp-pack.c
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2022-08-20 11:28:17 +0200
committerMarcus Meissner <marcus@jet.franken.de>2022-08-20 11:28:17 +0200
commit3773ad1988bc80de811d8d4cbaea18efd21518b3 (patch)
tree8a32a49beb4c093f2a0d96d67844fc7bd9ecb093 /camlibs/ptp2/ptp-pack.c
parenta14ea3b9f300db1fcf0847fbc5d225bc5014f029 (diff)
downloadlibgphoto2-3773ad1988bc80de811d8d4cbaea18efd21518b3.tar.gz
olc info ver instead of curoff in checkĀ§
Diffstat (limited to 'camlibs/ptp2/ptp-pack.c')
-rw-r--r--camlibs/ptp2/ptp-pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camlibs/ptp2/ptp-pack.c b/camlibs/ptp2/ptp-pack.c
index 10f8bcc46..372e90491 100644
--- a/camlibs/ptp2/ptp-pack.c
+++ b/camlibs/ptp2/ptp-pack.c
@@ -2637,7 +2637,7 @@ ptp_unpack_CANON_changes (PTPParams *params, unsigned char* data, unsigned int d
ce[i].type = PTP_CANON_EOS_CHANGES_TYPE_PROPERTY;
ce[i].u.propid = proptype;
- if (curoff >= 0x12)
+ if (olcver >= 0x12) /* FIXME: olcver???? */
curoff += 6; /* m6 mark 2 */
else
curoff += 4; /* 7, 8, b, f*/